Download web/node_modules/fast-glob/out/utils/fs.js from Amitkumar001/Law_Slm: direct link, hf CLI and curl.
- Browser
- Download file 756 Bytes
-
https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/web/node_modules/fast-glob/out/utils/fs.js
- Command line
-
hf download hf://Amitkumar001/Law_Slm/web/node_modules/fast-glob/out/utils/fs.js
-
curl -L -o fs.js https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/web/node_modules/fast-glob/out/utils/fs.js
756 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.createDirentFromStats = void 0; | |
| class DirentFromStats { | |
| constructor(name, stats) { | |
| this.name = name; | |
| this.isBlockDevice = stats.isBlockDevice.bind(stats); | |
| this.isCharacterDevice = stats.isCharacterDevice.bind(stats); | |
| this.isDirectory = stats.isDirectory.bind(stats); | |
| this.isFIFO = stats.isFIFO.bind(stats); | |
| this.isFile = stats.isFile.bind(stats); | |
| this.isSocket = stats.isSocket.bind(stats); | |
| this.isSymbolicLink = stats.isSymbolicLink.bind(stats); | |
| } | |
| } | |
| function createDirentFromStats(name, stats) { | |
| return new DirentFromStats(name, stats); | |
| } | |
| exports.createDirentFromStats = createDirentFromStats; | |