(filePath: string)
| 228 | * Wrapper around fs.stat that validates path first |
| 229 | */ |
| 230 | export async function stat(filePath: string): Promise<ReturnType<typeof fs.stat>> { |
| 231 | const validatedPath = validatePath(filePath); |
| 232 | return executeWithRetry(() => fs.stat(validatedPath), `stat(${filePath})`); |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * Wrapper around fs.rm that validates path first |
no test coverage detected