文件操作 - _hashHas.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/lodash-es/_hashHas.js
编辑文件内容
import nativeCreate from './_nativeCreate.js'; /** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** Used for built-in method references. */ var objectProto = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty = objectProto.hasOwnProperty; /** * Checks if a hash value for `key` exists. * * @private * @name has * @memberOf Hash * @param {string} key The key of the entry to check. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. */ function hashHas(key) { var data = this.__data__; return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); } export default hashHas;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件