Blame view

天文台pc/tianwentai-ui/node_modules/tar/dist/commonjs/symlink-error.js 528 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.SymlinkError = void 0;
  class SymlinkError extends Error {
      path;
      symlink;
      syscall = 'symlink';
      code = 'TAR_SYMLINK_ERROR';
      constructor(symlink, path) {
          super('TAR_SYMLINK_ERROR: Cannot extract through symbolic link');
          this.symlink = symlink;
          this.path = path;
      }
      get name() {
          return 'SymlinkError';
      }
  }
  exports.SymlinkError = SymlinkError;
  //# sourceMappingURL=symlink-error.js.map