Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

Pipeline operations for void

  • Seal: collect workspace files → compress → encrypt → store as shards
  • Unseal: fetch shards → decrypt → decompress → write files
  • Lazy traversal: explore repos without fetching all shards (list_dir, read_file — each fetches a single shard on demand)

Re-exports§

pub use events::FetchSource;
pub use events::MultiObserver;
pub use events::NullObserver;
pub use events::PipelineEvent;
pub use events::PipelineObserver;
pub use seal::commit_workspace;
pub use seal::seal_workspace;
pub use seal::CommitOptions;
pub use seal::CommitResult;
pub use seal::SealOptions;
pub use seal::SealResult;
pub use seal::SealStats;
pub use unseal::ensure_dir_shard;
pub use unseal::ensure_file_shard;
pub use unseal::list_dir;
pub use unseal::read_file;
pub use unseal::unseal_commit;
pub use unseal::unseal_with_share;
pub use unseal::DirEntryInfo;
pub use unseal::EnsureShardResult;
pub use unseal::LazyFetchOptions;
pub use unseal::LazyOptions;
pub use unseal::ListDirResult;
pub use unseal::ReadFileResult;
pub use unseal::UnsealOptions;
pub use unseal::UnsealResult;
pub use unseal::UnsealStats;

Modules§

events
Pipeline event system for progress reporting and observability.
seal
Seal pipeline - snapshot workspace into encrypted shards
unseal
Unseal pipeline - restore workspace from encrypted shards

Structs§

CloneOptions
CloneResult
ExportCarOptions
Options for exporting a commit to a CAR file.
ExportCarResult
Result of CAR export.
PullOptions
PullResult
PushOptions
PushResult

Enums§

CloneMode

Functions§

clone_repo
collect_local_objects
Collect typed objects for a commit from the local store.
export_commit_to_car
Export a commit and all its objects to a CAR file.
export_commit_to_car_bytes
Export a commit to CAR and return the raw bytes (for in-memory use).
pull_repo
push_repo
Push a commit to a remote store using marker-based range optimization.