文件操作 - index.cjs
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/path-exists/index.cjs
编辑文件内容
const { pathExists, pathExistsSync } = require("./pathExists.cjs"); const res = (...args) => { return pathExists(...args); } // old API res.sync = pathExistsSync; // new API res.pathExists = pathExists; res.pathExistsSync = pathExistsSync; module.exports = res;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件