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.】