lib/fs: Resolve 8.3 filenames from watcher (ref #3800) (#4975)

This commit is contained in:
Simon Frei
2018-06-04 13:41:03 +02:00
committed by GitHub
parent 8b15624f7d
commit ee6516aa31
5 changed files with 136 additions and 35 deletions

View File

@@ -117,5 +117,5 @@ func (f *BasicFilesystem) unrootedChecked(absPath string) string {
if !strings.HasPrefix(absPath, f.rootSymlinkEvaluated) {
panic(fmt.Sprintf("bug: Notify backend is processing a change outside of the filesystem root: root==%v, rootSymEval==%v, path==%v", f.root, f.rootSymlinkEvaluated, absPath))
}
return f.unrootedSymlinkEvaluated(absPath)
return f.unrootedSymlinkEvaluated(f.resolveWin83(absPath))
}