1
0
mirror of https://github.com/fuse-friends/fuse-native synced 2024-10-27 18:34:01 +00:00

debug log

This commit is contained in:
Mathias Buus 2020-05-20 11:21:31 +02:00
parent d309c2d741
commit 258346d835
2 changed files with 2 additions and 1 deletions

View File

@ -370,6 +370,7 @@ FUSE_METHOD(read, 6, 1, (const char *path, char *buf, size_t len, off_t offset,
l->path = path;
l->buf = buf;
l->len = len;
printf("making a buffer %zu %zu\n", buf, len);
l->offset = offset;
l->info = info;
}, {

View File

@ -17,7 +17,7 @@ tape('read', function (t) {
t.same(fd, 42, 'fd was passed to release')
}
})
const fuse = new Fuse(mnt, testFS, { debug: true })
const fuse = new Fuse(mnt, testFS, { debug: false })
fuse.mount(function (err) {
t.error(err, 'no error')