Skip to content

Commit

Permalink
Merge pull request #8413 from tangledbytes/utkarsh/fix/version-listing
Browse files Browse the repository at this point in the history
[NSFS] Fix version listing
  • Loading branch information
tangledbytes authored Sep 26, 2024
2 parents 80c3f7a + 10db059 commit e24e59a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/sdk/namespace_fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -811,10 +811,6 @@ class NamespaceFS {
}
for (let i = marker_index; i < sorted_entries.length; ++i) {
const ent = sorted_entries[i];
if (list_versions && marker_curr) {
const ent_name = _get_filename(ent.name);
if (ent_name !== marker_curr) break;
}
// when entry is NSFS_FOLDER_OBJECT_NAME=.folder file,
// and the dir key marker is the name of the curr directory - skip on adding it
if (ent.name === config.NSFS_FOLDER_OBJECT_NAME && dir_key === marker_dir) {
Expand Down

0 comments on commit e24e59a

Please sign in to comment.