Documentation
Table of Contents

Property StateRoot

Namespace
IntentSharp.Documents
Assembly
IntentSharp.dll

StateRoot

The folder that holds the history, the state file and the lock file. Null, the default, uses .intentsharp inside the working folder; a relative path resolves against the working folder. Set it to a writable folder apart from the working folder when that one is read-only (baked into a container image, deployed from a zip, or mounted from a configuration map): nothing is then written under the working folder except the rewrite of a working copy when a version is activated, and that only where the working folder accepts it. Where it does not, the version still runs, served from the history, and the store reports the working copy (and tries the rewrite again whenever it reads the folder) until it shows the running version; the old text is not taken for an edit.

public string? StateRoot { get; set; }

Property Value

string