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

Function text_temp_name

src/cli/config_text_edit.c:606–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604}
605
606static const char *text_temp_name(const char *temp_path) {
607 const char *slash = strrchr(temp_path, '/');
608 return slash ? slash + 1 : temp_path;
609}
610
611/* Drop a staged temp file: through the pinned parent for a followed link,
612 * by name otherwise. */

Callers 2

text_discard_tempFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected