Skip to main content

Module artifact

Module artifact 

Source

Structs§

ArtifactMeta
ArtifactSession
ArtifactSessionManager
ArtifactTaskSpec
DocPatch
FsArtifactStore
RuntimeArtifactAdapter
SaveMeta
ValidatedPatch

Enums§

ArtifactTaskKind
ArtifactTaskResult
DomainError
PatchConflict
StoreErr

Traits§

ArtifactPluginAdapter
ArtifactStore

Functions§

apply_doc_patch
Apply validated edits in reverse order to avoid index drift. Allocation: line buffer + replacement line buffers. Complexity: O(L + R + e).
compute_revision
validate_doc_patch
Validate structural patch invariants before any mutation. end_line is exclusive. Allocation: clones only the validated edit list. Complexity: O(e), e = edit count.