Module snapshot

Module snapshot 

Source

Functionsยง

backup_path_with_tag
Generate a unique backup path for a target file (includes a timestamp). Public so callers (preflight/tests) can compute expected names.
create_snapshot
Create a snapshot (backup payload and sidecar) of the current target state.
has_backup_artifacts
Public helper for preflight/tests: check if there are backup artifacts (payload and/or sidecar) for the given target and tag.