Interface IRepoFileGroup
Represents a file stored in an IFileRepo together with all of its variants.
Namespace: FulcrumFS
Assembly: FulcrumFS.dll
Syntax
public interface IRepoFileGroup
Remarks
An instance describes the group as it was when it was fetched or added; variants added or retired afterwards are not reflected in it.
The files of a group returned by an add know their sizes without storage access or a network round trip, while the files of a fetched group read them on demand (see GetLengthAsync(CancellationToken)).
Properties
| Name | Description |
|---|---|
| DanglingAliases | Gets each variant alias in the group whose source data file is missing, or an empty list in a healthy repository. |
| FileId | Gets the file ID of the group. |
| MainFile | Gets the main file of the group. |
| VariantFiles | Gets each variant of the main file, or an empty list if it has none. |