We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef71b7a commit bccd3e2Copy full SHA for bccd3e2
1 file changed
fs.go
@@ -445,7 +445,7 @@ func (f ArchiveFS) Open(name string) (fs.File, error) {
445
// this could result in loading the wrong file (!!) so we append a
446
// path separator to ensure that can't happen: "a/b/c.jpg.json/"
447
// is not prefixed by "a/b/c.jpg/", but it will still match as we
448
- // expect: "a/b/c/d/" is is prefixed by "a/b/c/", allowing us to
+ // expect: "a/b/c/d/" is prefixed by "a/b/c/", allowing us to
449
// match descenedent files, and "a/b/c.jpg/" is prefixed by
450
// "a/b/c.jpg/", allowing us to match exact filenames.
451
if !strings.HasPrefix(file.NameInArchive+"/", name+"/") {
0 commit comments