文件操作 - wrapperChain.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/lodash/wrapperChain.js
编辑文件内容
var chain = require('./chain'); /** * Creates a `lodash` wrapper instance with explicit method chain sequences enabled. * * @name chain * @memberOf _ * @since 0.1.0 * @category Seq * @returns {Object} Returns the new `lodash` wrapper instance. * @example * * var users = [ * { 'user': 'barney', 'age': 36 }, * { 'user': 'fred', 'age': 40 } * ]; * * // A sequence without explicit chaining. * _(users).head(); * // => { 'user': 'barney', 'age': 36 } * * // A sequence with explicit chaining. * _(users) * .chain() * .head() * .pick('user') * .value(); * // => { 'user': 'barney' } */ function wrapperChain() { return chain(this); } module.exports = wrapperChain;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件