MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / _ns

Function _ns

src/codegraphcontext/tools/languages/maven.py:15–17  ·  view source on GitHub ↗

Return a namespace-qualified tag, e.g. 'groupId' -> '{http://...}groupId'.

(tag: str)

Source from the content-addressed store, hash-verified

13
14
15def _ns(tag: str) -> str:
16 """Return a namespace-qualified tag, e.g. 'groupId' -> '{http://...}groupId'."""
17 return f"{{{_MVN_NS}}}{tag}"
18
19
20def _text(element: Any, tag: str, default: str = "") -> str:

Callers 2

_textFunction · 0.85
parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected