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

Function yaml_temp_name

src/cli/config_yaml_edit.c:886–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

884}
885
886static const char *yaml_temp_name(const char *temp_path) {
887 const char *slash = strrchr(temp_path, '/');
888 return slash ? slash + 1 : temp_path;
889}
890
891/* Drop a staged temp file: through the pinned parent for a followed link,
892 * by name otherwise. */

Callers 2

yaml_discard_tempFunction · 0.85
yaml_write_atomic_atFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected