Commit 29475a2f authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

unionfs: drop unused function IsDir.

parent 719d3d2b
......@@ -602,11 +602,6 @@ func (fs *unionFS) Readlink(name string, context *fuse.Context) (out string, cod
return "", fuse.ENOENT
}
func IsDir(fs pathfs.FileSystem, name string) bool {
a, code := fs.GetAttr(name, nil)
return code.Ok() && a.IsDir()
}
func stripSlash(fn string) string {
return strings.TrimRight(fn, string(filepath.Separator))
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment