Class FilePath
Contains methods for parsing file paths and working with special files.
Namespace: Singulink.IO
Assembly: Singulink.IO.FileSystem.dll
Syntax
public static class FilePath
Methods
| Name | Description |
|---|---|
| CreateTempFile() | Creates a new uniquely named zero-byte temporary file. |
| GetAssemblyLocation(Assembly) | Gets the file path to the specified assembly. |
| Parse(ReadOnlySpan<char>, PathFormat, PathOptions) | Parses an absolute or relative file path using the specified format and options. |
| Parse(ReadOnlySpan<char>, PathOptions) | Parses an absolute or relative file path using the specified options and the current platform's format. |
| ParseAbsolute(ReadOnlySpan<char>, PathFormat, PathOptions) | Parses an absolute file path using the specified format and options. |
| ParseAbsolute(ReadOnlySpan<char>, PathOptions) | Parses an absolute file path using the specified options and the current platform's format. |
| ParseRelative(ReadOnlySpan<char>, PathFormat, PathOptions) | Parses a relative file path using the specified format and options. |
| ParseRelative(ReadOnlySpan<char>, PathOptions) | Parses a relative file path using the specified options and the current platform's format. |
| TryParse(ReadOnlySpan<char>, out IFilePath?) | Attempts to parse an absolute or relative file path using the NoUnfriendlyNames option and the current platform's format. |
| TryParse(ReadOnlySpan<char>, PathFormat, out IFilePath?) | Attempts to parse an absolute or relative file path using the specified format and the NoUnfriendlyNames option. |
| TryParse(ReadOnlySpan<char>, PathFormat, PathOptions, out IFilePath?) | Attempts to parse an absolute or relative file path using the specified format and options. |
| TryParse(ReadOnlySpan<char>, PathOptions, out IFilePath?) | Attempts to parse an absolute or relative file path using the specified options and the current platform's format. |
| TryParseAbsolute(ReadOnlySpan<char>, out IAbsoluteFilePath?) | Attempts to parse an absolute file path using the NoUnfriendlyNames option and the current platform's format. |
| TryParseAbsolute(ReadOnlySpan<char>, PathFormat, out IAbsoluteFilePath?) | Attempts to parse an absolute file path using the specified format and the NoUnfriendlyNames option. |
| TryParseAbsolute(ReadOnlySpan<char>, PathFormat, PathOptions, out IAbsoluteFilePath?) | Attempts to parse an absolute file path using the specified format and options. |
| TryParseAbsolute(ReadOnlySpan<char>, PathOptions, out IAbsoluteFilePath?) | Attempts to parse an absolute file path using the specified options and the current platform's format. |
| TryParseRelative(ReadOnlySpan<char>, out IRelativeFilePath?) | Attempts to parse a relative file path using the NoUnfriendlyNames option and the current platform's format. |
| TryParseRelative(ReadOnlySpan<char>, PathFormat, out IRelativeFilePath?) | Attempts to parse a relative file path using the specified format and the NoUnfriendlyNames option. |
| TryParseRelative(ReadOnlySpan<char>, PathFormat, PathOptions, out IRelativeFilePath?) | Attempts to parse a relative file path using the specified format and options. |
| TryParseRelative(ReadOnlySpan<char>, PathOptions, out IRelativeFilePath?) | Attempts to parse a relative file path using the specified options and the current platform's format. |