PosixPath class PosixPath Documentation Code public string Directory { get; } public string File { get; } public PosixPath() public static PosixPath CreateAbsoluteOrRelativeFilePath(string path) public static string GetDirectoryName(string path) Gets the directory name part of a given POSIX path. public static string GetFileName(string path) Gets the file name part of a given POSIX path.