Skip to main content

Crate link_cli

Crate link_cli 

Source
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 structure
  • error - Error types for link operations
  • lino_link - LiNo link representation
  • parser - LiNo notation parser
  • link_storage - Persistent link storage
  • changes_simplifier - Changes simplification
  • query_processor - LiNo query processing

Modules§

cli
Command-line argument parsing for the clink binary.
sequences
Rust ports of the Data.Doublets.Sequences abstractions used by C#.

Structs§

HybridReference
Link
Link represents a doublet (source, target) pair with an index
LinkStorage
LinkStorage provides persistent storage for links Corresponds to the storage functionality in NamedLinksDecorator in C#
LinoLink
LinoLink represents a parsed link from LiNo notation Corresponds to Link.Foundation.Links.Notation.Link in C#
NamedLinks
NamedTypesDecorator
Parser
Parser for LiNo notation Corresponds to Link.Foundation.Links.Notation.Parser in C#
PinnedTypes
Creates or validates the reserved type links at deterministic addresses.
PinnedTypesDecorator
Link storage decorator that exposes pinned type allocation.
QueryOptions
Options for query processing
QueryProcessor
QueryProcessor handles LiNo query parsing and execution Corresponds to AdvancedMixedQueryProcessor in C#
UnicodeStringStorage
Link-backed Unicode string storage with C# pinned type layout.

Enums§

LinkError
Error types for link operations

Traits§

NamedTypeLinks
NamedTypes
PinnedTypesAccess

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§

DoubletsLink
Link type from the upstream doublets crate used as the Rust basis.