阿西河

所有教程

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

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js fsPromises.symlink

      Node.js fsPromises.symlink(target, path[, type])

      新增于: v10.0.0

      • target < string> | < Buffer> | < URL>
      • path < string> | < Buffer> | < URL>
      • type < string> Default: ‘file’
      • Returns:

      Creates a symbolic link then resolves the Promise with no arguments upon success.

      The type argument is only used on Windows platforms and can be one of ‘dir’, ‘file’, or ‘junction’. Windows junction points require the destination path to be absolute. When using ‘junction’, the target argument will automatically be normalized to absolute path.


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


      目录
      本文目录
      目录