After #361 is submitted it would be good to expose additional bbolt file 'surgery' commands:
-
bbolt surgery revert-meta-page. db.inputFile db.outputFile
- should execute
|
func RevertMetaPage(path string) error { |
-
bbolt surgery copy-page db.inputFile db.outputFile 17 14
- should execute
|
func CopyPage(path string, srcPage guts_cli.Pgid, target guts_cli.Pgid) error { |
3 bbolt surgery write-empty-branch-page db.inputFile db.outputFile 17
- should execute a new command that overwites given page with an empty node.
Follow up to: #335
After #361 is submitted it would be good to expose additional bbolt file 'surgery' commands:
bbolt surgery revert-meta-page. db.inputFile db.outputFilebbolt/internal/surgeon/surgeon.go
Line 41 in d13096e
bbolt surgery copy-page db.inputFile db.outputFile 17 14bbolt/internal/surgeon/surgeon.go
Line 10 in d13096e
3
bbolt surgery write-empty-branch-page db.inputFile db.outputFile 17Follow up to: #335