文件操作 - implementation.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/regexp.prototype.flags/implementation.js
编辑文件内容
'use strict'; var setFunctionName = require('set-function-name'); var $TypeError = require('es-errors/type'); var $Object = Object; module.exports = setFunctionName(function flags() { if (this == null || this !== $Object(this)) { throw new $TypeError('RegExp.prototype.flags getter called on non-object'); } var result = ''; if (this.hasIndices) { result += 'd'; } if (this.global) { result += 'g'; } if (this.ignoreCase) { result += 'i'; } if (this.multiline) { result += 'm'; } if (this.dotAll) { result += 's'; } if (this.unicode) { result += 'u'; } if (this.unicodeSets) { result += 'v'; } if (this.sticky) { result += 'y'; } return result; }, 'get flags', true);
修改文件时间
将文件时间修改为当前时间的前一年
删除文件