casey / casey/bak

Refuse to clobber

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Two instances of bak can clobber each others backups. Since bak is explicitly intended to save data, users probably don't want this. So, bak should never clobber data. I suspect fixing this will probably involve forsaking `std::fs::rename` for something os-specific.

Ideally, bak should keep trying until it successfully renames a file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.