Sweep the config directory even when the data directory is kept #50
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
rosa/casino#50
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Purging walks the two directories the casino made for itself and takes each one
that is empty, leaving one that still holds anything — a file it was never
entitled to remove. Stopping there is right. But the loop expresses "stop" by
ending the whole run, so a stray file in the data directory means the config
directory is never even looked at, however empty it is. Nothing chose that; it
is what using the loop for control flow adds up to.
Consider the two independently. One directory holding something that isn't ours
says nothing about the other.
Acceptance criteria
and still says so
data directory is kept
Blocked by