[][src]Module starship::context

Structs

Context

Context contains data or common methods that may be used by multiple modules. The data contained within Context will be relevant to this particular rendering of the prompt.

ScanDir

Functions

has_extension

checks if pathbuf matches the extension provided

path_has_name

checks to see if the pathbuf matches a file or folder name