1
0
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:
Andrew Osheroff 2019-06-17 16:54:34 +02:00
parent f6cc259428
commit 989142357a

View File

@ -4,7 +4,7 @@ var xtend = require('xtend')
var path = require('path')
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 call = function (cb) { cb() }
@ -25,6 +25,8 @@ fuse.setCallback(function (index, callback) {
return callback.bind(null, index)
})
exports.isConfigured = isConfigured
exports.context = function () {
var ctx = {}
fuse.populateContext(ctx)