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

Function toOptionalFile

common/src/constants/paths.ts:62–67  ·  view source on GitHub ↗
(file: string | null)

Source from the content-addressed store, hash-verified

60]
61
62export function toOptionalFile(file: string | null) {
63 if (file === null) return null
64 return HIDDEN_FILE_READ_STATUS.some((status) => file.startsWith(status))
65 ? null
66 : file
67}
68
69export const TEST_USER_ID = 'test-user-id'

Callers 1

runOnceFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected