文件操作 - _getMatchData.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/lodash-es/_getMatchData.js
编辑文件内容
import isStrictComparable from './_isStrictComparable.js'; import keys from './keys.js'; /** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** * Gets the property names, values, and compare flags of `object`. * * @private * @param {Object} object The object to query. * @returns {Array} Returns the match data of `object`. */ function getMatchData(object) { var result = keys(object), length = result.length; while (length--) { var key = result[length], value = object[key]; result[length] = [key, value, isStrictComparable(value)]; } return result; } export default getMatchData;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件