MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_zed_instructions_path

Function cbm_zed_instructions_path

src/cli/cli.c:2246–2254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2244}
2245
2246static void cbm_zed_instructions_path(const char *home_dir, char *out, size_t out_sz) {
2247#ifdef _WIN32
2248 snprintf(out, out_sz, "%s/AppData/Roaming/Zed/AGENTS.md", home_dir);
2249#else
2250 /* Zed's global instruction file follows the cross-agent ~/.config
2251 * convention on both Linux and macOS, independently of settings.json. */
2252 snprintf(out, out_sz, "%s/.config/zed/AGENTS.md", home_dir);
2253#endif
2254}
2255
2256static bool cbm_expand_user_path(const char *home_dir, const char *value, char *out,
2257 size_t out_sz) {

Callers 2

uninstall_editor_agentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected