storage: make listDir return paths relative to the root

this seems more natural to work with
This commit is contained in:
Girish Ramakrishnan
2025-08-16 07:43:43 +05:30
parent 19682ec21b
commit 832a25601d
5 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ async function listDir(apiConfig, dir, batchSize, marker) {
assert(typeof marker !== 'undefined');
// Result: array of { path, size }
// path is relative to the dir being listed
// path is relative to the prefix/root and not the _dir_ being listed
throw new BoxError(BoxError.NOT_IMPLEMENTED, 'listDir is not implemented');
}