文件操作 - join.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/lodash/join.js
编辑文件内容
/** Used for built-in method references. */ var arrayProto = Array.prototype; /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeJoin = arrayProto.join; /** * Converts all elements in `array` into a string separated by `separator`. * * @static * @memberOf _ * @since 4.0.0 * @category Array * @param {Array} array The array to convert. * @param {string} [separator=','] The element separator. * @returns {string} Returns the joined string. * @example * * _.join(['a', 'b', 'c'], '~'); * // => 'a~b~c' */ function join(array, separator) { return array == null ? '' : nativeJoin.call(array, separator); } module.exports = join;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件