MCPcopy
hub / github.com/codeaashu/claude-code / getGlobalGitignorePath

Function getGlobalGitignorePath

src/utils/git/gitignore.ts:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 * @returns The path to the global gitignore file
42 */
43export function getGlobalGitignorePath(): string {
44 return join(homedir(), '.config', 'git', 'ignore')
45}
46
47/**
48 * Adds a file pattern to the global gitignore file (.config/git/ignore)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected