Expand description
Simpath - or Simple Path is a small library for creating, manipulating and using Unix style
Path
s.
A Path
is an environment variable (a String) with one or more directories specified.
They are usually used to find a file that resides in one of the directories.
On most platform the default separator character is :
but on Windows it is ;
If you wish to separate entries with a different separator, it can be modified via API.
Structs
Simpath
is the struct returned when you create a new on using a named environment variable which you then use to interact with theSimpath
Enums
FileType
can be used to find an entry in a path of a specific type (Directory
,File
,URL
) or ofAny
typeFoundType
indicates what type of entry was found- When validating a
Simpath
there can be the following types ofPathError
s returned