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

Function py_normalize_name

src/pipeline/pass_pkgmap.c:405–411  ·  view source on GitHub ↗

Python: pyproject.toml — [project] name */ Normalize Python package name: hyphens → underscores (PEP 503). */

Source from the content-addressed store, hash-verified

403/* Python: pyproject.toml — [project] name */
404/* Normalize Python package name: hyphens → underscores (PEP 503). */
405static void py_normalize_name(char *name) {
406 for (char *c = name; *c; c++) {
407 if (*c == '-') {
408 *c = '_';
409 }
410 }
411}
412
413static void parse_pyproject_toml(const char *source, int source_len, const char *rel_path,
414 cbm_pkg_entries_t *entries) {

Callers 1

parse_pyproject_tomlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected