Closed mrcnski closed 4 years ago
Uploading directories is broken. We join the initial path with subpaths given by WalkDir, which is not correct. Here are a few iterations of walking a directory dir with a file called file:
WalkDir
dir
file
path: ./dir, subpath: ./dir fullpath: dir/dir path: dir/file, subpath: dir/file fullpath: dir/file/dir/file path: ./dir, subpath: dir/file fullpath: dir/dir/file
The resulting list of files:
files: [dir/file/dir/file dir/dir/file]
We should be
Uploading directories is broken. We join the initial path with subpaths given by
WalkDir
, which is not correct. Here are a few iterations of walking a directorydir
with a file calledfile
:The resulting list of files:
We should be