文件操作 - _lazyClone.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/lodash/_lazyClone.js
编辑文件内容
var LazyWrapper = require('./_LazyWrapper'), copyArray = require('./_copyArray'); /** * Creates a clone of the lazy wrapper object. * * @private * @name clone * @memberOf LazyWrapper * @returns {Object} Returns the cloned `LazyWrapper` object. */ function lazyClone() { var result = new LazyWrapper(this.__wrapped__); result.__actions__ = copyArray(this.__actions__); result.__dir__ = this.__dir__; result.__filtered__ = this.__filtered__; result.__iteratees__ = copyArray(this.__iteratees__); result.__takeCount__ = this.__takeCount__; result.__views__ = copyArray(this.__views__); return result; } module.exports = lazyClone;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件