文件操作 - _LazyWrapper.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/lodash-es/_LazyWrapper.js
编辑文件内容
import baseCreate from './_baseCreate.js'; import baseLodash from './_baseLodash.js'; /** Used as references for the maximum length and index of an array. */ var MAX_ARRAY_LENGTH = 4294967295; /** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. * * @private * @constructor * @param {*} value The value to wrap. */ function LazyWrapper(value) { this.__wrapped__ = value; this.__actions__ = []; this.__dir__ = 1; this.__filtered__ = false; this.__iteratees__ = []; this.__takeCount__ = MAX_ARRAY_LENGTH; this.__views__ = []; } // Ensure `LazyWrapper` is an instance of `baseLodash`. LazyWrapper.prototype = baseCreate(baseLodash.prototype); LazyWrapper.prototype.constructor = LazyWrapper; export default LazyWrapper;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件