Class RepoFileInfo
Represents information about a file stored in a FileRepo, including its identity and a recommended way to open it.
Implements
Namespace: FulcrumFS
Assembly: FulcrumFS.dll
Syntax
public sealed record RepoFileInfo : IEquatable<RepoFileInfo>
Properties
| Name | Description |
|---|---|
| Extension | Gets the extension of the file (including the leading period), or an empty string if it has no extension. |
| FileId | Gets the file ID of the file. |
| Length | Gets the size of the file in bytes. |
| Path | Gets the underlying absolute path of the file. |
| VariantId | Gets the variant ID of the file, or null if this represents the main file. |
Methods
| Name | Description |
|---|---|
| Open() | Opens an asynchronous read-only file stream using the recommended sharing options for repository files (Read | Delete). |