smart_backup

Function smart_backup 

Source
pub fn smart_backup(save_path: &Path) -> Result<bool, BackupError>
Expand description

Perform smart backup if needed

This is the main entry point for backup management:

  • Checks if backup should be created based on hash tracking
  • Creates backup if needed
  • Returns true if a new backup was created