pub fn pre_verify_patch(
file_path: &Path,
expected_checksum: Option<&Checksum>,
workspace_root: &Path,
db_path: &Path,
strict: bool,
skip: bool,
) -> Result<Vec<PreVerificationResult>>Expand description
Run all pre-verification checks for a patch operation.
This function runs all verification checks and returns a Vec of results. The caller should check for blocking failures before proceeding.
§Arguments
file_path- Path to the file to verifyexpected_checksum- Optional expected checksum for external modification detectionworkspace_root- Workspace directory pathdb_path- Path to graph databasestrict- If true, convert warnings to blocking failuresskip- If true, skip all verification checks (returns all Pass)
§Returns
Ok(Vec<PreVerificationResult>)- All checks completed (may contain warnings)Err(SpliceError)- Fatal error during verification