Lines Matching refs:subPath
135 func (d *driver) PutContent(ctx context.Context, subPath string, contents []byte) error {
136 writer, err := d.Writer(ctx, subPath, false)
173 func (d *driver) Writer(ctx context.Context, subPath string, append bool) (storagedriver.FileWriter…
174 fullPath := d.fullPath(subPath)
207 func (d *driver) Stat(ctx context.Context, subPath string) (storagedriver.FileInfo, error) {
208 fullPath := d.fullPath(subPath)
213 return nil, storagedriver.PathNotFoundError{Path: subPath}
220 path: subPath,
227 func (d *driver) List(ctx context.Context, subPath string) ([]string, error) {
228 fullPath := d.fullPath(subPath)
233 return nil, storagedriver.PathNotFoundError{Path: subPath}
247 keys = append(keys, path.Join(subPath, fileName))
272 func (d *driver) Delete(ctx context.Context, subPath string) error {
273 fullPath := d.fullPath(subPath)
279 return storagedriver.PathNotFoundError{Path: subPath}
299 func (d *driver) fullPath(subPath string) string {
300 return path.Join(d.rootDirectory, subPath)