阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js fsPromises.chmod

      Node.js

      fsPromises.chmod(path, mode)

      新增于: v10.0.0

      • path < string> | < Buffer> | < URL>
      • mode < integer>
      • Returns:

      Changes the permissions of a file then resolves the Promise with no arguments upon succces.

      fsPromises.chown(path, uid, gid)

      新增于: v10.0.0

      • path < string> | < Buffer> | < URL>
      • uid < integer>
      • gid < integer>
      • Returns:

      Changes the ownership of a file then resolves the Promise with no arguments upon success.


      更多内容请参考:Node.js fs 文件系统,或者通过 点击对应菜单 进行查看;


      目录
      目录