Skip to main content

workyard_state/
lib.rs

1//! Versioned documents and stable OS locks for a single workspace.
2//!
3//! Use [`Reader`] for observations and [`Store`] for admitted changes. Records
4//! describe task membership and progress. Separate evidence lets recovery
5//! reconcile interrupted writes with the worktrees Git actually created.
6#![deny(missing_docs)]
7
8mod address;
9mod damage;
10mod discovery;
11mod documents;
12mod evidence;
13pub mod path;
14mod paths;
15mod reader;
16mod records;
17mod revision;
18mod store;
19mod workspace;
20
21pub use discovery::{discover_state, find_state};
22pub use paths::{canonical_future, exists};
23pub use reader::Reader;
24pub use records::{OperationRecord, TaskRecord, task_filename};
25pub use store::{Store, TaskGuard};
26pub use workspace::{RootEdit, initialize_workspace, initialize_workspace_with_control};
27pub use workyard_system::{Lock, LockMode};