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

Function toml_temp_name

src/cli/config_toml_edit.c:633–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631}
632
633static const char *toml_temp_name(const char *temp_path) {
634 const char *slash = strrchr(temp_path, '/');
635 return slash ? slash + 1 : temp_path;
636}
637
638/* Drop a staged temp file: through the pinned parent for a followed link,
639 * by name otherwise. */

Callers 2

toml_discard_tempFunction · 0.85
toml_write_atomic_atFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected