feature(client) rm unused loadCurrentTime

This commit is contained in:
coderaiser 2021-02-28 10:29:50 +02:00
parent 89af33fb9d
commit ce511812d5
2 changed files with 1 additions and 15 deletions

View file

@ -254,20 +254,6 @@ module.exports.loadCurrentHash = async (currentFile) => {
return data;
};
/**
* load current modification time of file
* @callback
* @currentFile
*/
module.exports.loadCurrentTime = async (currentFile) => {
const current = currentFile || DOM.getCurrentFile();
const query = '?time';
const link = DOM.getCurrentPath(current);
const [, data] = await RESTful.read(link + query);
return data;
};
/**
* set size
* @currentFile

View file

@ -123,7 +123,7 @@
"putout": "^15.0.0",
"redzip": "^2.0.0",
"rendy": "^3.0.0",
"restafary": "^9.7.0",
"restafary": "^10.0.0",
"restbox": "^3.0.0",
"shortdate": "^2.0.0",
"simport": "^1.0.1",