(label: string)
| 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}-`)); |
| 34 | dirs.push(dir); |
| 35 | return dir; |
| 36 | }; |
| 37 | |
| 38 | /** Every file in `dir` that any account other than the owner can read. */ |
| 39 | const groupOrWorldReadable = (dir: string): readonly string[] => |
no test coverage detected