control-freak-ide/server/nodejs/_build/services/Mounts.js
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

19 lines
523 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const JSONFile_1 = require("./JSONFile");
class MountService extends JSONFile_1.JSONFileService {
constructor(path) {
super(path);
this.method = 'XApp_Resource_Service';
this.configPath = path;
this.root = '';
}
ls() {
return this.readConfig()['items'];
}
methods() {
return this.toMethods(['ls']);
}
}
exports.MountService = MountService;
//# sourceMappingURL=Mounts.js.map