Class DirectoryPath
Contains methods for parsing directory paths and working with special directories.
Inherited Members
Namespace: Singulink.IO
Assembly: Singulink.IO.FileSystem.dll
Syntax
public static class DirectoryPath
Methods
Name | Description |
---|---|
GetAssemblyLocation(Assembly) | Gets the directory path of the specified assembly. |
GetCurrent() | Gets the current working directory. |
GetMountingPoints() | Gets the list of directory paths that represent mounting points (drives in Windows). |
GetSpecialFolder(SpecialFolder) | Returns the special system folder directory path that is identified by the provided enumeration. |
GetTemp() | Returns the current user's temporary directory. |
Parse(ReadOnlySpan<char>, PathFormat, PathOptions) | Parses an absolute or relative directory path using the specified format and options. |
Parse(ReadOnlySpan<char>, PathOptions) | Parses an absolute or relative directory path using the specified options and the current platform's format. |
ParseAbsolute(ReadOnlySpan<char>, PathFormat, PathOptions) | Parses an absolute directory path using the specified format and options. |
ParseAbsolute(ReadOnlySpan<char>, PathOptions) | Parses an absolute directory path using the specified options and the current platform's format. |
ParseRelative(ReadOnlySpan<char>, PathFormat, PathOptions) | Parses a relative directory path using the specified format and options. |
ParseRelative(ReadOnlySpan<char>, PathOptions) | Parses a relative directory path using the specified options and the current platform's format. |
SetCurrent(IAbsoluteDirectoryPath) | Sets the current working directory. |