Weave documentation
Rust referencestrand-vault

strand-vault · fsck

Source declarations, signatures and documentation for fsck.

Reviewed implementation boundary: Vault construction does not automatically replay WAL entries. Snapshotting is a best-effort directory copy; replication mode/live settings are not implemented as runtime controls, and the capability preamble is not ACT authorization verification. See /libraries/strand-vault/overview.

Source: sigil/weave/libs/strand-vault/src/fsck.rs. SHA-256: 7c48f8a711e08a7d63d9a5153297d6cd3ccfb64224e2477fb5e415addb694116.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

fsck::FsckReport

pub struct FsckReport {
pub strands_checked: usize,
pub errors: Vec<String>
}

Source line: 6.

fsck::fsck

pub async fn fsck<V>(vault: &V) -> Result<FsckReport>
where
    V: FsckProvider,;

Source line: 11.

fsck::FsckProvider

#[async_trait::async_trait]
pub trait FsckProvider {
    async fn list_strands_ids(&self) -> Result<Vec<StrandId>>;
    async fn check_strand(&self, id: &StrandId) -> Result<()>;
}

Source line: 29.

On this page