migrate from badger to ndjson-native storage

This commit is contained in:
Lewis Wynne 2026-02-10 23:44:23 +00:00
parent db4574b887
commit 7b1356f5af
12 changed files with 442 additions and 618 deletions

View file

@ -80,7 +80,7 @@ func delStore(cmd *cobra.Command, args []string) error {
}
func executeDeletion(path string) error {
if err := os.RemoveAll(path); err != nil {
if err := os.Remove(path); err != nil {
return fmt.Errorf("cannot delete-store '%s': %v", path, err)
}
return nil