diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/fs/dir.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fs/dir.go b/contrib/fs/dir.go index 259ce1b..b00fe5c 100644 --- a/contrib/fs/dir.go +++ b/contrib/fs/dir.go @@ -75,7 +75,7 @@ func ResolveDirectoryDefault( for _, filename := range filenames { idx := sort.Search(len(entries), func(i int) bool { - return entries[i].Name() <= filename + return entries[i].Name() >= filename }) if idx < len(entries) && entries[idx].Name() == filename { |