Class CachedFileInfo
Represents cached information about a file.
Inherited Members
Namespace: Singulink.IO
Assembly: Singulink.IO.FileSystem.dll
Syntax
public class CachedFileInfo : CachedEntryInfo
Properties
| Name | Description |
|---|---|
| IsReadOnly | Gets a value indicating whether the file is read-only. |
| Length | Gets the size of the file in bytes. |
| Path | Gets the path to the file. |
Methods
| Name | Description |
|---|---|
| Create(ReadOnlySpan<char>, PathOptions) | Creates a cached info snapshot for an existing file at the specified absolute path. |
| Refresh() | Refreshes the cached information about the file/directory. If the refresh fails for any reason, the existing snapshot is left unchanged. |