pub fn diff_working<S: ObjectStoreExt>(
store: &S,
vault: &KeyVault,
commit: &VoidCid,
workspace: &Path,
) -> Result<TreeDiff>Expand description
Computes the diff between a commit and the working tree.
§Arguments
store- Object store for fetching encrypted objectsvault- Key vault for decryptioncommit- CID of the commit to compare againstworkspace- Path to the workspace directory
§Returns
A TreeDiff showing changes in the working tree relative to the commit.