MCPcopy Create free account
hub / github.com/caverav/flutterdec / _normalize_library_uri

Function _normalize_library_uri

adapters/python/adapter_template.py:320–326  ·  view source on GitHub ↗
(raw: str)

Source from the content-addressed store, hash-verified

318 if not t:
319 return None
320 lower = t.lower()
321 if ".dart" in lower or "/" in t or "\\" in t or "://" in t:
322 return None
323 if " " in t:
324 return None
325 if "@" in t:
326 t = t.split("@", 1)[0]
327 if ":" in t:
328 t = t.split(":", 1)[1]
329 t = t.strip()

Callers 2

ensure_libraryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected