MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / suggestion_for_abs

Function suggestion_for_abs

scripts/website/audit_source_urls.py:46–50  ·  view source on GitHub ↗
(url: str)

Source from the content-addressed store, hash-verified

44
45
46def suggestion_for_abs(url: str) -> str:
47 parsed = re.sub(r"^https?://www\.codenameone\.com", "", url, flags=re.IGNORECASE)
48 if not parsed.startswith("/"):
49 parsed = "/" + parsed
50 return parsed
51
52
53def audit(root: Path) -> List[Finding]:

Callers 1

auditFunction · 0.85

Calls 1

subMethod · 0.45

Tested by

no test coverage detected