Crate simpath[][src]

Simpath - or Simple Path is a small library for creating, manipulating and using Unix style Paths.

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.



Simpath is the struct returned when you create a new on using a named environment variable which you then use to interact with the Simpath



FileType can be used to find an entry in a path of a specific type (Directory, File, URL) or of Any type


FoundType indicates what type of entry was found


When validating a Simpath there can be the following types of PathErrors returned