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

Function py_normalize_name

src/pipeline/pass_pkgmap.c:401–407  ·  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

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

Callers 1

parse_pyproject_tomlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected