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