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

add nlink to example

This commit is contained in:
Mathias Buus 2017-10-02 22:14:39 +02:00
parent 0fc47e4ad9
commit a5f67aa521
2 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,7 @@ fuse.mount(mountPath, {
mtime: new Date(), mtime: new Date(),
atime: new Date(), atime: new Date(),
ctime: new Date(), ctime: new Date(),
nlink: 1,
size: 100, size: 100,
mode: 16877, mode: 16877,
uid: process.getuid ? process.getuid() : 0, uid: process.getuid ? process.getuid() : 0,
@ -63,6 +64,7 @@ fuse.mount(mountPath, {
mtime: new Date(), mtime: new Date(),
atime: new Date(), atime: new Date(),
ctime: new Date(), ctime: new Date(),
nlink: 1,
size: 12, size: 12,
mode: 33188, mode: 33188,
uid: process.getuid ? process.getuid() : 0, uid: process.getuid ? process.getuid() : 0,

View File

@ -15,6 +15,7 @@ fuse.mount(mountPath, {
mtime: new Date(), mtime: new Date(),
atime: new Date(), atime: new Date(),
ctime: new Date(), ctime: new Date(),
nlink: 1,
size: 100, size: 100,
mode: 16877, mode: 16877,
uid: process.getuid ? process.getuid() : 0, uid: process.getuid ? process.getuid() : 0,
@ -28,6 +29,7 @@ fuse.mount(mountPath, {
mtime: new Date(), mtime: new Date(),
atime: new Date(), atime: new Date(),
ctime: new Date(), ctime: new Date(),
nlink: 1,
size: 12, size: 12,
mode: 33188, mode: 33188,
uid: process.getuid ? process.getuid() : 0, uid: process.getuid ? process.getuid() : 0,