Skip to main content

Crate sirno

Crate sirno 

Source
Expand description

Core library for Sirno.

Sirno keeps design as named Markdown entries with exact metadata. The public model follows the repository design: entries are nominal objects, structural fields are explicit, and repository witnesses are discovered by entry address.

Re-exports§

pub use crate::artifact::ARTIFACT_DIRECTORY_NAME;
pub use crate::artifact::EntryArtifact;
pub use crate::artifact::EntryArtifactPath;
pub use crate::artifact::EntryArtifactPathError;
pub use crate::check::CheckDiagnostic;
pub use crate::check::CheckDiagnosticKind;
pub use crate::check::CheckMode;
pub use crate::check::CheckReport;
pub use crate::check::CheckSeverity;
pub use crate::config::CONFIG_FILE_NAME;
pub use crate::config::CheckSettings;
pub use crate::config::ConfigError;
pub use crate::config::FrostSettings;
pub use crate::config::LakeSettings;
pub use crate::config::RepoMember;
pub use crate::config::RepoSettings;
pub use crate::config::SirnoConfig;
pub use crate::config::TutorialSettings;
pub use crate::config::UpstreamRef;
pub use crate::config::UpstreamSettings;
pub use crate::config::UpstreamSettingsMap;
pub use crate::config::WitnessDelimiterSettings;
pub use crate::config::WitnessSettings;
pub use crate::entry::DESC_FIELD;
pub use crate::entry::Entry;
pub use crate::entry::EntryMeta;
pub use crate::entry::EntryMetadata;
pub use crate::entry::EntryParseError;
pub use crate::entry::EntryStructuralFields;
pub use crate::entry::FROZEN_FIELD;
pub use crate::entry::FrozenMarker;
pub use crate::entry::META_FIELD;
pub use crate::entry::NAME_FIELD;
pub use crate::freeze::FreezeError;
pub use crate::freeze::FrozenPath;
pub use crate::frost::FrostError;
pub use crate::frost::FrostGcReport;
pub use crate::frost::SirnoFrost;
pub use crate::identifier::EntryAddress;
pub use crate::identifier::EntryAddressError;
pub use crate::identifier::EntryAtom;
pub use crate::identifier::EntryAtomError;
pub use crate::lake::EntryDirectory;
pub use crate::lake::EntryDirectoryCheckSettings;
pub use crate::lake::EntryDirectoryError;
pub use crate::lake::EntryDirectoryReport;
pub use crate::lake::EntryDirectoryWritePolicy;
pub use crate::lake::EntryFileDiagnostic;
pub use crate::lake::EntryRenameReport;
pub use crate::lake::GenLinkDirectoryReport;
pub use crate::lake::GlacierReport;
pub use crate::lock::FrostLock;
pub use crate::lock::FrostLockStatus;
pub use crate::lock::LOCK_FILE_NAME;
pub use crate::lock::LockError;
pub use crate::lock::SirnoLock;
pub use crate::lock::TideLock;
pub use crate::lock::UpstreamLock;
pub use crate::lock::UpstreamLockMap;
pub use crate::query::EntryQuery;
pub use crate::query::EntryStructuralMatcher;
pub use crate::query::EntryTextTerm;
pub use crate::query::VagueEntryQuery;
pub use crate::render::GeneratedLinkBody;
pub use crate::render::GeneratedLinkError;
pub use crate::structural::StructuralEdgeDirection;
pub use crate::structural::StructuralEdgeDirectionParseError;
pub use crate::structural::StructuralEdgeIndex;
pub use crate::structural::StructuralEdgeSettings;
pub use crate::structural::StructuralFieldMap;
pub use crate::structural::StructuralFieldSettings;
pub use crate::structural::StructuralRippleSettings;
pub use crate::structural::StructuralSettings;
pub use crate::tide::Tide;
pub use crate::tide::TideError;
pub use crate::tide::TideResolution;
pub use crate::tide::TideSource;
pub use crate::tide::TideStatus;
pub use crate::tide::TideWorkitem;
pub use crate::tide::TideWorkitemParseError;
pub use crate::upstream::UpstreamCrystallizeReport;
pub use crate::upstream::UpstreamError;
pub use crate::upstream::UpstreamGitCache;
pub use crate::upstream::UpstreamStatus;
pub use crate::upstream::UpstreamStatusReport;
pub use crate::upstream::UpstreamStatusState;
pub use crate::witness::WitnessCheckSettings;
pub use crate::witness::WitnessError;
pub use crate::witness::WitnessIndex;
pub use crate::witness::WitnessRecord;
pub use crate::witness::WitnessSpan;

Modules§

artifact
Lake-owned artifacts attached to Sirno entries.
check
Structural checks for Sirno entries.
config
Project configuration for a Sirno-managed repository.
entry
Sirno entry model and Markdown frontmatter syntax.
freeze
Cross-platform immutable file operations.
frost
Sirno Frost facade.
identifier
Entry atoms and addresses.
lake
Sirno Lake support.
lock
Project-local lock state for frost, upstream lakes, and tide.
mcp
MCP server adapter for Sirno.
query
Query predicates for Sirno entries.
render
Rendered generated footers for entries.
structural
Structural edge policy and neighbor indexes.
surface
Shared command surface for Sirno.
tide
Dependency review worklists for lake edits.
upstream
Upstream lake resolution and crystallization.
witness
Repository witness lookup through mosaika.

Structs§

Eterator
Reusable version coordinate inside one GC generation.
GcGeneration
Generation of the retained version coordinate space.
SnapshotRef
Stable reference to a snapshot within a store generation.