Skip to content

Commit

Permalink
art dir is not special anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
SnosMe committed Jul 25, 2023
1 parent 5322f54 commit 9a02d35
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/src/bundles/index-paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ export function getDirContent (dirPath: string, pathReps: Uint8Array, dirsInfo:
childrenEnd = offset + dirsReader.getInt32(structOffset + S_ALL_SIZE$, true)
}

// "art" dir is special
if (dirPath === 'art') {
const dirs = getChildDirectories('art', pathReps, dirsInfo)
return { files, dirs }
}

const dirs = new Set<string>()
for (let idx = 0; idx < dirsCount; ++idx) {
let offset = dirsReader.getInt32((STRUCT_SIZE * idx) + S_OFFSET$, true)
Expand Down

0 comments on commit 9a02d35

Please sign in to comment.