mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
Expose isConfigured
This commit is contained in:
parent
f6cc259428
commit
989142357a
4
index.js
4
index.js
@ -4,7 +4,7 @@ var xtend = require('xtend')
|
|||||||
var path = require('path')
|
var path = require('path')
|
||||||
|
|
||||||
var fuse = require('node-gyp-build')(__dirname)
|
var fuse = require('node-gyp-build')(__dirname)
|
||||||
var { beforeMount, beforeUnmount, configure, unconfigure } = require('fuse-shared-library')
|
var { beforeMount, beforeUnmount, configure, unconfigure, isConfigured } = require('fuse-shared-library')
|
||||||
|
|
||||||
var noop = function () {}
|
var noop = function () {}
|
||||||
var call = function (cb) { cb() }
|
var call = function (cb) { cb() }
|
||||||
@ -25,6 +25,8 @@ fuse.setCallback(function (index, callback) {
|
|||||||
return callback.bind(null, index)
|
return callback.bind(null, index)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
exports.isConfigured = isConfigured
|
||||||
|
|
||||||
exports.context = function () {
|
exports.context = function () {
|
||||||
var ctx = {}
|
var ctx = {}
|
||||||
fuse.populateContext(ctx)
|
fuse.populateContext(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user