MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getAllContextFilenames

Function getAllContextFilenames

packages/core/src/tools/memoryTool.ts:99–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97
98// Get context file names (ANUS.md only)
99export function getAllContextFilenames(): string[] {
100 const baseNames = getAllAnusMdFilenames();
101 const allNames: string[] = [];
102
103 // Only use ANUS.md variants
104 baseNames.forEach((name) => {
105 if (name === DEFAULT_CONTEXT_FILENAME) {
106 allNames.push(NEW_CONTEXT_FILENAME);
107 } else {
108 // Custom filename - just use as-is
109 allNames.push(name);
110 }
111 });
112
113 return allNames;
114}
115
116// Get ignore file names (.anusignore only)
117export function getAllIgnoreFilenames(): string[] {

Callers 1

Calls 1

getAllAnusMdFilenamesFunction · 0.85

Tested by

no test coverage detected