mirror of https://gitee.com/bigwinds/arangodb
Added a function to get the JSON information for one mount point
This commit is contained in:
parent
f74c181bf5
commit
169042f801
|
@ -376,12 +376,16 @@ function validateAppName (name) {
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
function mountedApp (mount) {
|
||||
"use strict";
|
||||
return tmp_getStorage().firstExample({mount: mount});
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief Exports
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
exports.mountedApp = mountedApp;
|
||||
exports.list = list;
|
||||
exports.listJson = listJson;
|
||||
exports.listDevelopment = listDevelopment;
|
||||
|
|
|
@ -1774,10 +1774,11 @@ exports.uninstall = uninstall;
|
|||
exports.replace = replace;
|
||||
exports.upgrade = upgrade;
|
||||
|
||||
/*
|
||||
exports.mountedApp = utils.mountedApp;
|
||||
*/
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief Exports from foxx utils module.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
exports.mountedApp = utils.mountedApp;
|
||||
exports.list = utils.list;
|
||||
exports.listJson = utils.listJson;
|
||||
exports.listDevelopment = utils.listDevelopment;
|
||||
|
|
Loading…
Reference in New Issue