Skip to main content

Module version_control

Module version_control 

Source
Expand description

Optional version-control layer for the Rust link-cli.

Mirrors the C# VersionControlDecorator in csharp/Foundation.Data.Doublets.Cli.Library/VersionControlDecorator.cs.

Sits above the [TransactionsDecorator] and adds time travel (checkout), branching (branch, switch_branch), and tagging (tag) over the transitions log. Optional — when not instantiated the underlying transactions decorator behaves identically (R17).

Structs§

BranchInfo
Metadata describing one branch in the version-control DAG.
GenericVersionControlDecorator
Version control over a replaceable metadata store using the common links API. The default alias keeps the existing mapped metadata store and public API.

Constants§

DEFAULT_BRANCH_NAME
Default name of the initial branch (analogous to git’s main).

Type Aliases§

FileVersionControlDecorator
Version control over the append-only journal clink uses (issue #195).
VersionControlDecorator
Decorator that adds time travel, branching, and tagging over the transitions log produced by a [TransactionsDecorator].