func DeleteBlock(e storage.Tx, domain string, id *uuid.UUID, idx int) error { key := fmt.Sprintf(blockKey, id, idx) return e.Delete(domain, key) }
func DeleteLog(e storage.Tx, domain string, name string) error { key := fmt.Sprintf(logKey, name) return e.Delete(domain, key) }
func DeleteSegment(e storage.Tx, domain string, id *uuid.UUID) error { key := fmt.Sprintf(segmentKey, id) return e.Delete(domain, key) }