From 072cf7b02dc1005da924c07768765ad581d2465b Mon Sep 17 00:00:00 2001 From: greatroar <@> Date: Mon, 17 Feb 2020 16:26:08 +0100 Subject: [PATCH] Fix debug messages in internal/fuse --- internal/fuse/dir.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/fuse/dir.go b/internal/fuse/dir.go index f899a4313..2fe2c785e 100644 --- a/internal/fuse/dir.go +++ b/internal/fuse/dir.go @@ -111,7 +111,7 @@ func newDirFromSnapshot(ctx context.Context, root *Root, inode uint64, snapshot } func (d *dir) Attr(ctx context.Context, a *fuse.Attr) error { - debug.Log("called") + debug.Log("Attr()") a.Inode = d.inode a.Mode = os.ModeDir | d.node.Mode @@ -142,7 +142,7 @@ func (d *dir) calcNumberOfLinks() uint32 { } func (d *dir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error) { - debug.Log("called") + debug.Log("ReadDirAll()") ret := make([]fuse.Dirent, 0, len(d.items)+2) ret = append(ret, fuse.Dirent{