Interface IAbsoluteDirectoryPath
Represents an absolute path to a directory.
Inherited Members
Namespace: Singulink.IO
Assembly: Singulink.IO.FileSystem.dll
Syntax
public interface IAbsoluteDirectoryPath : IAbsolutePath, IDirectoryPath, IPath, IEquatable<IPath?>
Properties
| Name | Description |
|---|---|
| AvailableFreeSpace | Gets the available free space in the directory, in bytes, taking user quotas into account. |
| DriveType | Gets the drive type that the directory points to, e.g. CD-ROM, removable, network or fixed. |
| FileSystem | Gets the name of the file system, such as NTFS or FAT32. |
| IsEmpty | Gets a value indicating whether this directory is empty. |
| IsRoot | Gets a value indicating whether this is a root directory. |
| TotalFreeSpace | Gets the total free space in the directory, in bytes, not taking any user quotas into account. |
| TotalSize | Gets the total size of storage space in the directory, in bytes. |
Methods
| Name | Description |
|---|---|
| Combine(IRelativeDirectoryPath) | Combines this directory with a relative directory. |
| Combine(IRelativeFilePath) | Combines this directory with a relative file. |
| Combine(IRelativePath) | Combines this directory with a relative entry. |
| CombineDirectory(ReadOnlySpan<char>, PathFormat, PathOptions) | Combines this directory with a relative directory path parsed using the specified format and options. |
| CombineDirectory(ReadOnlySpan<char>, PathOptions) | Combines this directory with a relative directory path parsed using the specified options and this directory's path format. |
| CombineFile(ReadOnlySpan<char>, PathFormat, PathOptions) | Combines this directory with a relative file path parsed using the specified format and options. |
| CombineFile(ReadOnlySpan<char>, PathOptions) | Combines this directory with a relative file path parsed using the specified options and this directory's path format. |
| Create() | Creates all directories and subdirectories in the specified path unless they already exist. |
| Delete(bool, bool) | Deletes the specified directory and, if indicated, any subdirectories and files in the directory. |
| GetChildDirectories(SearchOptions?) | Gets the child directories that reside in this directory and match the specified search options. |
| GetChildDirectories(string, SearchOptions?) | Gets the child directories that reside in this directory and match the specified search pattern and search options. |
| GetChildDirectoriesInfo(SearchOptions?) | Gets info for the child directories that reside in this directory and match the specified search options. |
| GetChildDirectoriesInfo(string, SearchOptions?) | Gets info for the child directories that reside in this directory and match the specified search pattern and search options. |
| GetChildEntries(SearchOptions?) | Gets the child files/directories that reside in this directory and match the specified search options. |
| GetChildEntries(string, SearchOptions?) | Gets the child files/directories that reside in this directory and match the specified search pattern and search options. |
| GetChildEntriesInfo(SearchOptions?) | Gets info for the child files/directories that reside in this directory and match the specified search options. |
| GetChildEntriesInfo(string, SearchOptions?) | Gets info for the child files/directories that reside in this directory and match the specified search pattern and search options. |
| GetChildFiles(SearchOptions?) | Gets the child files that reside in this directory and match the specified search options. |
| GetChildFiles(string, SearchOptions?) | Gets the child files that reside in this directory and match the specified search pattern and search options. |
| GetChildFilesInfo(SearchOptions?) | Gets info for the child files that reside in this directory and match the specified search options. |
| GetChildFilesInfo(string, SearchOptions?) | Gets info for the child files that reside in this directory and match the specified search pattern and search options. |
| GetInfo() | Gets information about this directory. |
| GetRelativeChildDirectories(SearchOptions?) | Gets the child directories that reside in this directory, relative to this directory, which match the specified search options. |
| GetRelativeChildDirectories(string, SearchOptions?) | Gets the child directories that reside in this directory, relative to this directory, which match the specified search pattern and search options. |
| GetRelativeChildEntries(SearchOptions?) | Gets the child files/directories that reside in this directory, relative to this directory, which match the specified search options. |
| GetRelativeChildEntries(string, SearchOptions?) | Gets the child files/directories that reside in this directory, relative to this directory, which match the specified search pattern and search options. |
| GetRelativeChildFiles(SearchOptions?) | Gets the child files that reside in this directory, relative to this directory, which match the specified search options. |
| GetRelativeChildFiles(string, SearchOptions?) | Gets the child files that reside in this directory, relative to this directory, which match the specified search pattern and search options. |
| GetRelativeDirectories(IRelativeDirectoryPath, SearchOptions?) | Gets the directories that reside in the combination of this directory and the search location, relative to this directory, which match the specified search options. |
| GetRelativeDirectories(IRelativeDirectoryPath, string, SearchOptions?) | Gets the child directories that reside in the combination of this directory and the search location, relative to this directory, which match the specified search pattern and search options. |
| GetRelativeEntries(IRelativeDirectoryPath, SearchOptions?) | Gets the files/directories that reside in the combination of this directory and the search location, relative to this directory, which match the specified search options. |
| GetRelativeEntries(IRelativeDirectoryPath, string, SearchOptions?) | Gets the files/directories that reside in the combination of this directory and the search location, relative to this directory, which match the specified search pattern and search options. |
| GetRelativeFiles(IRelativeDirectoryPath, SearchOptions?) | Gets the files that reside in the combination of this directory and the search location, relative to this directory, which match the specified search options. |
| GetRelativeFiles(IRelativeDirectoryPath, string, SearchOptions?) | Gets the child files that reside in the combination of this directory and the search location, relative to this directory, which match the specified search pattern and search options. |
Operators
| Name | Description |
|---|---|
| operator +(IAbsoluteDirectoryPath, IRelativeDirectoryPath) | Combines an absolute directory with a relative directory. |
| operator +(IAbsoluteDirectoryPath, IRelativeFilePath) | Combines an absolute directory with a relative file. |
| operator +(IAbsoluteDirectoryPath, IRelativePath) | Combines an absolute directory with a relative entry. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IAbsolutePath.GetInfo() | Gets information about this file/directory. |
| IDirectoryPath.Combine(IRelativeDirectoryPath) | Combines this directory with a relative directory. |
| IDirectoryPath.Combine(IRelativeFilePath) | Combines this directory with a relative file. |
| IDirectoryPath.Combine(IRelativePath) | Combines this directory with a relative entry. |
| IDirectoryPath.CombineDirectory(ReadOnlySpan<char>, PathFormat, PathOptions) | Combines this directory with a relative directory path parsed using the specified format and options. |
| IDirectoryPath.CombineFile(ReadOnlySpan<char>, PathFormat, PathOptions) | Combines this directory with a relative file path parsed using the specified format and options. |