Sign in

    vectie/moonfish/integrity does not have a README file

    RecordIntegrityCheck

    pub(all) enum RecordIntegrityCheck {
    AnalysisRecordSelfContained
    WritePlanDeclaresRecord
    BookCommitReady
    ReplayAnchorsRecord
    ExportAnchorsRecord
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    RecordIntegrityFinding

    pub(all) struct RecordIntegrityFinding {
    run_id : String
    check : RecordIntegrityCheck
    status : RecordIntegrityStatus
    path : String
    message : String
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    RecordIntegrityReport

    pub(all) struct RecordIntegrityReport {
    run_id : String
    ready : Bool
    artifact_count : Int
    findings : Array[RecordIntegrityFinding]
    summary : String
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    RecordIntegrityStatus

    pub(all) enum RecordIntegrityStatus {
    Pass
    NeedsWork
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    prepare_record_integrity_report

    record_integrity_finding

    fn record_integrity_finding(run_id : String, check : RecordIntegrityCheck, status : RecordIntegrityStatus, path : String, message : String) -> RecordIntegrityFinding