--prune flag on snapshot create is a TODO #4

Open
opened 2026-02-08 17:16:20 +01:00 by clawbot · 0 comments
Collaborator

In snapshot.go createNamedSnapshot(), the prune-after-snapshot option is a stub:

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

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
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/vaultik#4
No description provided.