DEP0081: 使用文件描述符的 fs.truncate()


类型: 运行时

Type: Runtime

fs.truncate() fs.truncateSync() usage with a file descriptor is deprecated. Please use fs.ftruncate() or fs.ftruncateSync() to work with file descriptors.