Class FileRepoOptions
Represents configuration options for a file repository.
Namespace: FulcrumFS
Assembly: FulcrumFS.Local.dll
Syntax
public class FileRepoOptions
Constructors
| Name | Description |
|---|---|
| FileRepoOptions() | Initializes a new instance of the FileRepoOptions class. |
| FileRepoOptions(IAbsoluteDirectoryPath, RepoFormatVersion) | Initializes a new instance of the FileRepoOptions class with the specified base directory and minimum format version for the file repository. |
Properties
| Name | Description |
|---|---|
| BaseDirectory | Gets or sets the base directory for the file repository. |
| DeleteMode | Gets or sets the mode used when files are deleted through the repository. Default is DeferredUntilClean. |
| FileIdMode | Gets or sets the mode used to generate file IDs in the repository. Default is Secure. |
| HealthCheckInterval | Gets or sets the interval at which health checks on the repo volume/directory are performed. Minimum value is 1 second. Default is 15 seconds. |
| MarkerFileLogging | Gets or sets the logging mode used to log information and errors to indeterminate and delete marker files. Default is HumanReadable. |
| MaxAccessWaitOrRetryTime | Gets or sets the maximum time that repository operations will wait for successful I/O access to the repository before throwing a TimeoutException. Must be between 1 second and 1 minute (inclusive). Default is 8 seconds. |
| MinimumFormatVersion | Gets or sets the lowest format version the repository has once it is opened: a repository below it is upgraded when the FileRepo initializes, and one above it, within what this library supports, is used unchanged. Must be set: there is no default, because the right version depends on which processes and library versions use the repository. |
| ReadOnly | Gets or sets a value indicating whether the repository is opened read-only. Default is false. |