Interface IFileRepoStage
Represents a staged IFileRepoStagedTransaction, returned by StageAsync(CancellationToken). Committing the stage commits the transaction.
Namespace: FulcrumFS
Assembly: FulcrumFS.dll
Syntax
public interface IFileRepoStage
Remarks
A stage belongs to its transaction and is not disposable on its own: disposing the transaction before the stage has been committed rolls the transaction back.
Methods
| Name | Description |
|---|---|
| CommitAsync(CancellationToken) | Commits the staged transaction, making the files it added and deleted permanent in the repository. Call this after the application's database has committed. |