diff --git a/fuse.go b/fuse.go index 7bb7535..97cec0e 100644 --- a/fuse.go +++ b/fuse.go @@ -195,6 +195,10 @@ func (n *ITNode) Lookup(ctx context.Context, name string, out *fuse.EntryOut) (* case 2: // FS object + if len(n.lst) == 0 { + n.Readdir(ctx) + } + for _, file := range n.lst { if file.path != n.path + "/" + name { continue;