fsPromises.constants


返回一个包含文件系统操作常用常量的对象。对象与 fs.constants 相同。有关详细信息,请参阅 文件系统常量

¥Returns an object containing commonly used constants for file system operations. The object is the same as fs.constants. See FS constants for more details.