MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / getHostAuthFile

Function getHostAuthFile

scripts/container-runtime.js:112–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110}
111
112function 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
118function syncAuthToPodmanMachine() {
119 if (!isPodmanOnWindows()) {

Callers 1

syncAuthToPodmanMachineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected