A general *nix system path. May be a relative or absolute path. A path to a directory or a file resource.
A relative FilePath, a file path that does not start with a ’/’.
An absolute FilePath, an absolute file path always starts with a ’/’.
Constructing instances of FilePath
Creates a FilePath instance from a given string path. The actual instance returned is an AbsFilePath or RelFilePath depending on the given path string is absolute or relative.
Creates an AbsFilePath from the given path string. If the provided path string is a relative path string, the path string is made absolute by prefixing a ’/’.
Creates an RelFilePath from the given path string. If the provided path string is an absolute path string, the path string is made relative by dropping the leading ’/’.
File name Extension.
Creates an Extension from the provided string. Currently no validation is performed.
The MAC address for a named interface, e.g. eth0, wlan0, ...
The interfaces defined on the system. A listing of directory /sys/class/net.