文件操作 - _escapeStringChar.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/lodash/_escapeStringChar.js
编辑文件内容
/** Used to escape characters for inclusion in compiled string literals. */ var stringEscapes = { '\\': '\\', "'": "'", '\n': 'n', '\r': 'r', '\u2028': 'u2028', '\u2029': 'u2029' }; /** * Used by `_.template` to escape characters for inclusion in compiled string literals. * * @private * @param {string} chr The matched character to escape. * @returns {string} Returns the escaped character. */ function escapeStringChar(chr) { return '\\' + stringEscapes[chr]; } module.exports = escapeStringChar;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件