Method GetGroupAsync
GetGroupAsync(FileId)
Gets information about an existing file and all of its variants in the repository.
Declaration
public ValueTask<RepoFileGroupInfo> GetGroupAsync(FileId fileId)
Parameters
| Type | Name | Description |
|---|---|---|
| FileId | fileId |
Returns
| Type | Description |
|---|---|
| ValueTask<RepoFileGroupInfo> |
Remarks
A variant alias whose source data file is missing is not listed in VariantFiles but in DanglingAliases, and it is reported through CorruptionDetected. Before that, the group is listed again for as long as the alias markers that cannot be resolved change from one listing to the next, so an alias that a retirement of its source has promoted or re-pointed while the group was being listed is listed with the content it resolves to and is not reported. Only an alias that cannot be resolved in two listings in a row is reported, whether or not its source is retired.
Exceptions
| Type | Condition |
|---|---|
| RepoFileNotFoundException | The specified file ID does not exist in the repository. |