Skip to content

Commit bccd3e2

Browse files
authored
fix: duplicated "is" in fs.go path-prefix comment (#69)
Signed-off-by: Maya Chen <275405107+otjdiepluong@users.noreply.github.com> Co-authored-by: Maya Chen <275405107+otjdiepluong@users.noreply.github.com>
1 parent ef71b7a commit bccd3e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ func (f ArchiveFS) Open(name string) (fs.File, error) {
445445
// this could result in loading the wrong file (!!) so we append a
446446
// path separator to ensure that can't happen: "a/b/c.jpg.json/"
447447
// 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
448+
// expect: "a/b/c/d/" is prefixed by "a/b/c/", allowing us to
449449
// match descenedent files, and "a/b/c.jpg/" is prefixed by
450450
// "a/b/c.jpg/", allowing us to match exact filenames.
451451
if !strings.HasPrefix(file.NameInArchive+"/", name+"/") {

0 commit comments

Comments
 (0)