mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
chore(time) rm main
This commit is contained in:
parent
b1ef1086b3
commit
f422135200
1 changed files with 9 additions and 11 deletions
|
|
@ -1,17 +1,16 @@
|
|||
(function (object) {
|
||||
'use strict';
|
||||
|
||||
if(!global.cloudcmd)
|
||||
return console.log(
|
||||
'# time.js' + '\n' +
|
||||
'# -----------' + '\n' +
|
||||
'# Module is part of Cloud Commander,' + '\n' +
|
||||
'# used for getting file change time.' + '\n' +
|
||||
'# http://cloudcmd.io' + '\n');
|
||||
/*
|
||||
'# time.js' + '\n' +
|
||||
'# -----------' + '\n' +
|
||||
'# Module is part of Cloud Commander,' + '\n' +
|
||||
'# used for getting file change time.' + '\n' +
|
||||
'# http://cloudcmd.io' + '\n';
|
||||
*/
|
||||
|
||||
var main = global.cloudcmd.main,
|
||||
fs = require('fs'),
|
||||
Util = main.util;
|
||||
var fs = require('fs'),
|
||||
Util = require('../util');
|
||||
|
||||
object.get = function(filename, options, callback) {
|
||||
var noOptions = Util.isFunction(options);
|
||||
|
|
@ -30,7 +29,6 @@
|
|||
else
|
||||
timeRet = time.getTime();
|
||||
}
|
||||
|
||||
|
||||
Util.exec(callback, error, timeRet);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue