Enum DeleteMode
Specifies when file deletions issued through the repository take physical effect.
Namespace: FulcrumFS
Assembly: FulcrumFS.dll
Syntax
public enum DeleteMode
Fields
| Name | Description |
|---|---|
| DeferredFilesOnly | Main file deletions are deferred (same as DeferredUntilClean), but variant deletions take physical effect immediately. The deferred grace period for variants exists primarily so that backups capture variants in a consistent state alongside their main files; this mode skips that protection and is only appropriate when either:
|
| DeferredUntilClean | File deletions are deferred: a delete marker is written when the operation completes (or when a transaction containing the deletion commits), and the physical deletion happens later when a FileRepoCleaner clean operation removes markers older than the configured delete delay. This is the default mode and is recommended to allow concurrent transactions to access deleted files, support recovery, and let scheduled backups run before files are physically removed. |
| Immediate | File deletions are performed immediately when the operation completes (or when a transaction containing the deletion commits). No delete marker is written and no grace period is observed. |