MCPcopy
hub / github.com/yeasy/docker_practice / is_local_target

Function is_local_target

check_project_rules.py:96–98  ·  view source on GitHub ↗
(raw_target: str)

Source from the content-addressed store, hash-verified

94
95
96def is_local_target(raw_target: str) -> bool:
97 parsed = urlparse(raw_target)
98 return not parsed.scheme and not parsed.netloc and not raw_target.startswith("#")
99
100
101def normalize_target(raw_target: str) -> str:

Callers 1

check_targetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected