(path: string)
| 27 | |
| 28 | /** POSIX permission bits of `path`, or null when it does not exist. */ |
| 29 | const modeOf = (path: string): number | null => |
| 30 | existsSync(path) ? statSync(path).mode & 0o777 : null; |
| 31 | |
| 32 | const tempDir = (label: string): string => { |
| 33 | const dir = mkdtempSync(join(tmpdir(), `executor-db-perms-${label}-`)); |
no outgoing calls
no test coverage detected