MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isEnvFile

Function isEnvFile

cli/src/utils/create-run-config.ts:62–64  ·  view source on GitHub ↗
(basename: string)

Source from the content-addressed store, hash-verified

60}
61
62const isEnvFile = (basename: string) =>
63 (basename === '.env' || basename.startsWith('.env.')) &&
64 !isEnvTemplateFile(basename)
65
66const matchesPattern = (str: string) =>
67 SENSITIVE_PATTERNS.prefix.some(

Callers 1

isSensitiveFileFunction · 0.85

Calls 1

isEnvTemplateFileFunction · 0.85

Tested by

no test coverage detected