fuse-bindings
Advanced tools
Comparing version 2.2.0 to 2.3.0
11
index.js
@@ -86,3 +86,12 @@ var bindings = require('bindings') | ||
exports.unmount = function (mnt, cb) { | ||
fuse.unmount(path.resolve(mnt), cb || noop) | ||
var timeout = setTimeout(function () { | ||
var err = new Error('Unmount took too long') | ||
err.code = 'ETIMEDOUT' | ||
if (cb) cb(err) | ||
}, 2000) | ||
fuse.unmount(path.resolve(mnt), function (err) { | ||
clearTimeout(timeout) | ||
if (cb) cb(err) | ||
}) | ||
} | ||
@@ -89,0 +98,0 @@ |
{ | ||
"name": "fuse-bindings", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Fully maintained fuse bindings for Node that aims to cover the entire FUSE api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -124,3 +124,3 @@ # fuse-bindings | ||
#### `ops.access(path, cb)` | ||
#### `ops.access(path, mode, cb)` | ||
@@ -127,0 +127,0 @@ Called before the filesystem accessed a file |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65325
479