This commit is contained in:
Zahoor Mohamed 2017-05-31 14:00:19 +00:00 committed by GitHub
commit db97f95e64

View file

@ -462,7 +462,7 @@ func RegularSlashes(path string) (res string) {
} }
func (self *manifestTrie) getEntry(spath string) (entry *manifestTrieEntry, fullpath string) { func (self *manifestTrie) getEntry(spath string) (entry *manifestTrieEntry, fullpath string) {
path := RegularSlashes(spath) path := RegularSlashes(spath) + "/"
var pos int var pos int
quitC := make(chan bool) quitC := make(chan bool)
entry, pos = self.findPrefixOf(path, quitC) entry, pos = self.findPrefixOf(path, quitC)