mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 10:38:26 +00:00
feature(timem) time -> timem
This commit is contained in:
parent
8368d59d9f
commit
71ad9a63b6
3 changed files with 5 additions and 13 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
size = require(DIR + 'size'),
|
||||
commander = require(DIR + 'commander'),
|
||||
time = require(DIR + 'time'),
|
||||
time = require(DIR + 'timem'),
|
||||
pipe = require(DIR + 'pipe'),
|
||||
ncp = require(DIR + 'ncp'),
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
fs = require('fs'),
|
||||
path = require('path'),
|
||||
Util = require('../util'),
|
||||
time = require('./time'),
|
||||
time = require('./timem'),
|
||||
|
||||
CHANGES_NAME = JSONDIR + 'changes',
|
||||
CHANGES_JSON = CHANGES_NAME + '.json',
|
||||
|
|
|
|||
|
|
@ -1,18 +1,10 @@
|
|||
(function (object) {
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
/*
|
||||
'# time.js' + '\n' +
|
||||
'# -----------' + '\n' +
|
||||
'# Module is part of Cloud Commander,' + '\n' +
|
||||
'# used for getting file change time.' + '\n' +
|
||||
'# http://cloudcmd.io' + '\n';
|
||||
*/
|
||||
|
||||
var fs = require('fs'),
|
||||
Util = require('../util');
|
||||
|
||||
object.get = function(filename, option, callback) {
|
||||
exports.get = function(filename, option, callback) {
|
||||
var isRaw = option === 'raw';
|
||||
|
||||
if (!callback)
|
||||
|
|
@ -36,4 +28,4 @@
|
|||
});
|
||||
};
|
||||
|
||||
})(this);
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue