MCPcopy Create free account
hub / github.com/garrytan/gstack / defaultAllowlistPath

Function defaultAllowlistPath

ios-qa/daemon/src/allowlist.ts:14–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12import { capabilityCovers } from './types';
13
14export function defaultAllowlistPath(): string {
15 return process.env.GSTACK_IOS_ALLOWLIST_PATH
16 ?? join(homedir(), '.gstack', 'ios-qa-allowlist.json');
17}
18
19export async function loadAllowlist(path: string = defaultAllowlistPath()): Promise<Allowlist> {
20 let raw: string;

Callers 5

parseArgsFunction · 0.90
loadAllowlistFunction · 0.85
saveAllowlistFunction · 0.85
grantIdentityFunction · 0.85
revokeIdentityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected