()
| 110 | } |
| 111 | |
| 112 | function getHostAuthFile() { |
| 113 | const authFile = process.env.REGISTRY_AUTH_FILE |
| 114 | || path.join(os.homedir(), '.config', 'containers', 'auth.json'); |
| 115 | return fs.existsSync(authFile) ? authFile : null; |
| 116 | } |
| 117 | |
| 118 | function syncAuthToPodmanMachine() { |
| 119 | if (!isPodmanOnWindows()) { |
no outgoing calls
no test coverage detected