Download apps/server/src/lib/secure-fs.ts from Leon4gr45/automaker: direct link, hf CLI and curl.
- Browser
- Download file 674 Bytes
-
https://huggingface.co/spaces/Leon4gr45/automaker/resolve/main/apps/server/src/lib/secure-fs.ts
- Command line
-
hf download hf://spaces/Leon4gr45/automaker/apps/server/src/lib/secure-fs.ts
-
curl -L -o secure-fs.ts https://huggingface.co/spaces/Leon4gr45/automaker/resolve/main/apps/server/src/lib/secure-fs.ts
674 Bytes
| /** | |
| * Re-export secure file system utilities from @automaker/platform | |
| * This file exists for backward compatibility with existing imports | |
| */ | |
| import { secureFs } from '@automaker/platform'; | |
| export const { | |
| // Async methods | |
| access, | |
| readFile, | |
| writeFile, | |
| mkdir, | |
| readdir, | |
| stat, | |
| rm, | |
| unlink, | |
| copyFile, | |
| appendFile, | |
| rename, | |
| lstat, | |
| joinPath, | |
| resolvePath, | |
| // Sync methods | |
| existsSync, | |
| readFileSync, | |
| writeFileSync, | |
| mkdirSync, | |
| readdirSync, | |
| statSync, | |
| accessSync, | |
| unlinkSync, | |
| rmSync, | |
| // Throttling configuration and monitoring | |
| configureThrottling, | |
| getThrottlingConfig, | |
| getPendingOperations, | |
| getActiveOperations, | |
| } = secureFs; | |