MCPcopy Create free account
hub / github.com/brimdata/super / DeleteByPrefix

Method DeleteByPrefix

pkg/storage/file.go:67–69  ·  view source on GitHub ↗
(_ context.Context, u *URI)

Source from the content-addressed store, hash-verified

65}
66
67func (f *FileSystem) DeleteByPrefix(_ context.Context, u *URI) error {
68 return os.RemoveAll(u.Filepath())
69}
70
71func (f *FileSystem) Size(_ context.Context, u *URI) (int64, error) {
72 info, err := os.Stat(u.Filepath())

Callers

nothing calls this directly

Calls 1

FilepathMethod · 0.45

Tested by

no test coverage detected