Documentation
Table of Contents

Enum EditStatus

Namespace
IntentSharp.Edits
Assembly
IntentSharp.dll

What became of a ProposedEdit, as an EditOutcome reports it.

public enum EditStatus
Extension Methods

Fields

Applied = 0

The edit was saved as a new version and that version is running.

Conflict = 4

The document changed since the edit was based on it: another version became running first. Nothing was stored; read the running version and propose the edit again.

Other = 5

A status this version of the library does not know, reported by a writer of your own.

Refused = 2

The library refused the edit before any writer saw it, or the writer could not apply it: the text is larger than the size limit (MaxEditBytes), does not load, no validator handles the document, the store refused to save it (a text larger than the store takes, or a path it does not write), or the kind of edit cannot be applied. Nothing was stored.

Rejected = 3

An IEditWriter declined the edit, for example a wrapper that holds it for review. Nothing was stored by the library.

SavedNotRunning = 1

The edit was saved as a new version that is not running: a candidate the writer kept, which can be compared or activated later. The previous version keeps running.