| 64 | fs.exists(path, callback) 检测给定的路径是否存在。 |
| 65 | fs.existsSync(path) 同步版的 fs.exists. |
| 66 | fs.access(path[, mode], callback) 测试指定路径用户权限。 |
| 67 | fs.accessSync(path[, mode]) 同步版的 fs.access。 |
| 68 | fs.createReadStream(path[, options]) 返回ReadStream 对象。 |
| 69 | fs.createWriteStream(path[, options]) 返回 WriteStream 对象。 |
| 70 | fs.symlink(srcpath, dstpath[, type], callback) 异步 symlink().回调函数没有参数,但可能抛出异常。 |
更多内容,请查看官网文件模块描述:File System。