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:
parent
d309c2d741
commit
258346d835
@ -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;
|
||||
}, {
|
||||
|
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user