Skip to main content

diff_at

Function diff_at 

Source
pub fn diff_at(
    vault_path: &Path,
    profile: &str,
    at_millis: i64,
) -> SafeResult<Vec<SnapDiffEntry>>
Expand description

Compare the on-disk vault file at vault_path against the most-recent snapshot taken at or before at_millis (UTC milliseconds since epoch).

The diff is computed by comparing the raw JSON secrets maps; secret values are not decrypted — only key presence and ciphertext equality are checked.

Returns NoSnapshotAvailable if no snapshot exists at or before at_millis.