MCPcopy Create free account
hub / github.com/Seeed-Studio/wiki-documents / is_protected_path

Function is_protected_path

scripts/fix_links.py:86–94  ·  view source on GitHub ↗

仅当去掉末尾斜杠后精确等于受保护基路径时返回 True。 区分大小写:/contributors 保护;/Contributor 不保护。

(path: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

inject_langFunction · 0.85
transform_urlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected