func (f *File) DeleteRecords() error {
	if err := f.NotifyDependents(IFCREATE); err != nil {
		return err
	}
	if err := f.DeleteAllDependencies(); err != nil {
		return err
	}
	if err := f.DeleteAllPrerequisites(); err != nil {
		return err
	}
	if err := f.DeleteMetadata(); err != nil {
		return err
	}
	if err := f.DeleteMustRebuild(); err != nil {
		return err
	}
	return nil
}
Delete removes a target's database records
package redux
type Record struct {
	Key   string
	Value []byte
}
type DB interface {
	IsNull() bool
	Put(key string, value []byte) error
	Get(key string) ([]byte, bool, error)
	Delete(key string) error
	GetKeys(prefix string) ([]string, error)
	GetValues(prefix string) ([][]byte, error)
	GetRecords(prefix string) ([]Record, error)
	Close() error
}
func WithDB(arg string, f func(DB) error) error {
	db, err := FileDbOpen(arg)
	if err != nil {
		return err
	}
	defer db.Close()
	return f(db)
}