Expand description
Link CLI Library - Core functionality for links manipulation
This library provides the core data structures and functionality for the link-cli tool, implementing a doublet storage system with LiNo notation support.
§Modules
link- The core Link data structureerror- Error types for link operationslino_link- LiNo link representationparser- LiNo notation parserlink_storage- Persistent link storagestorage- Reusable storage traits and the doublets-backed storechanges_simplifier- Changes simplificationquery_processor- LiNo query processing
Re-exports§
pub use storage::lock_file_path;pub use storage::DoubletsStorage;pub use storage::FileLock;pub use storage::FileMappedUnitStore;pub use storage::LinksStorage;pub use storage::LinksStorageRef;pub use storage::LockMode;pub use storage::PersistentFileMapped;pub use storage::StorageRevision;pub use transactions::CommitMode;pub use transactions::DoubletLink;pub use transactions::FileTransitionLog;pub use transactions::GenericDoubletLink;pub use transactions::GenericTransactionsDecorator;pub use transactions::GenericTransition;pub use transactions::LogRetentionPolicy;pub use transactions::TransactionHandle;pub use transactions::TransactionsDecorator;pub use transactions::Transition;pub use transactions::TransitionKind;pub use transactions::TransitionLogStore;pub use version_control::BranchInfo;pub use version_control::VersionControlDecorator;pub use version_control::DEFAULT_BRANCH_NAME;
Modules§
- cli
- Command-line argument parsing for the
clinkbinary. - sequences
- Rust ports of the
Data.Doublets.Sequencesabstractions used by C#. - storage
- Reusable storage layer: traits, a doublets-backed implementation and advisory locking helpers.
- transactions
- Optional transactions layer for the Rust link-cli.
- version_
control - Optional version-control layer for the Rust link-cli.
Structs§
- Generic
Link - A doublet
(source, target)pair together with its own address. - Hybrid
Reference - Link
Storage - LinkStorage provides persistent storage for links Corresponds to the storage functionality in NamedLinksDecorator in C#
- Lino
Link - LinoLink represents a parsed link from LiNo notation
Corresponds to Link.Foundation.Links.Notation.Link
in C# - Named
Links - Named
Types Decorator - Parser
- Parser for LiNo notation Corresponds to Link.Foundation.Links.Notation.Parser in C#
- Pinned
Types - Creates or validates the reserved type links at deterministic addresses.
- Pinned
Types Decorator - Link storage decorator that exposes pinned type allocation.
- Query
Options - Options for query processing
- Query
Processor - QueryProcessor handles LiNo query parsing and execution Corresponds to AdvancedMixedQueryProcessor in C#
- Unicode
String Storage - Link-backed Unicode string storage with C# pinned type layout.
Enums§
- Link
Error - Error types for link operations
Traits§
Functions§
- external_
reference - Encodes an external reference the same way
Platform.Data.Hybrid<uint>does. - external_
reference_ value - Decodes a
Platform.Data.Hybrid<uint>external reference. - import_
lino_ file - import_
lino_ text - simplify_
changes - Simplifies a list of changes by identifying chains of transformations.
Type Aliases§
- Doublets
Link - Link type from the upstream
doubletscrate used as the Rust basis. - Link
- The
u32-addressed link used by theclinkCLI and its decorators.