MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isAgentMemFile

Function isAgentMemFile

src/utils/memoryFileDetection.ts:119–124  ·  view source on GitHub ↗

* Check if a file path is within an agent memory directory.

(filePath: string)

Source from the content-addressed store, hash-verified

117 * Check if a file path is within an agent memory directory.
118 */
119function isAgentMemFile(filePath: string): boolean {
120 if (isAutoMemoryEnabled()) {
121 return isAgentMemoryPath(filePath)
122 }
123 return false
124}
125
126/**
127 * Check if a file is a Claude-managed memory file (NOT user-managed instruction files).

Callers 1

isAutoManagedMemoryFileFunction · 0.85

Calls 2

isAutoMemoryEnabledFunction · 0.85
isAgentMemoryPathFunction · 0.85

Tested by

no test coverage detected