文件操作 - _getWrapDetails.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/lodash-es/_getWrapDetails.js
编辑文件内容
/** Used to match wrap detail comments. */ var reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, reSplitDetails = /,? & /; /** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** * Extracts wrapper details from the `source` body comment. * * @private * @param {string} source The source to inspect. * @returns {Array} Returns the wrapper details. */ function getWrapDetails(source) { var match = source.match(reWrapDetails); return match ? match[1].split(reSplitDetails) : []; } export default getWrapDetails;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件