mirror of
https://github.com/fuse-friends/fuse-native
synced 2026-03-02 03:40:15 +00:00
update example
This commit is contained in:
@@ -47,3 +47,9 @@ fuse.mount('./mnt', {
|
|||||||
return cb(str.length)
|
return cb(str.length)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
process.on('SIGINT', function () {
|
||||||
|
fuse.unmount('./mnt', function () {
|
||||||
|
process.exit()
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user