@lionrockjs/central
Version:
Node.js MVC framework inspire from PHP Kohana Framework
21 lines (20 loc) • 441 B
JavaScript
export default class Noop {
resolveFetchList(x, store, pathToFile) {
return true;
}
dirname(file = null) {
return './' + (file || '');
}
async import(pathToFile, cacheId = 0) {
return {};
}
fileExists(pathToFile) {
return false;
}
process() {
return {
status: 'Noop adapter - no process object available',
cwd: () => './'
};
}
}