Update btrfs driver to use snapshot storage
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
61b524aff2
commit
912746b016
7 changed files with 192 additions and 241 deletions
|
@ -36,8 +36,8 @@ type MetaStore interface {
|
|||
|
||||
// Remove removes a snapshot from the metastore. The provided context
|
||||
// must contain a writable transaction. The string identifier for the
|
||||
// snapshot is returned.
|
||||
Remove(ctx context.Context, key string) (string, error)
|
||||
// snapshot is returned as well as the kind.
|
||||
Remove(ctx context.Context, key string) (string, snapshot.Kind, error)
|
||||
|
||||
// Commit renames the active snapshot transaction referenced by `key`
|
||||
// as a committed snapshot referenced by `Name`. The resulting snapshot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue