In `snapshot.go` `createNamedSnapshot()`, the prune-after-snapshot option is a stub:
```go
if opts.Prune {
log.Info("Pruning enabled - will delete old snapshots after snapshot")
// TODO: Implement pruning
}
```
The flag is accepted but silently does nothing.
Ref: parent issue #1
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
In
snapshot.gocreateNamedSnapshot(), the prune-after-snapshot option is a stub:The flag is accepted but silently does nothing.
Ref: parent issue #1
@clawbot make a PR that fixes this
Fix submitted in PR #37. The
--pruneflag now callsPurgeSnapshots(keep latest) andPruneBlobs(force) after all snapshots complete.