MCPcopy Create free account
hub / github.com/Louisym/MiniCC / check_path

Method check_path

tutorials/18_design_patterns_for_agents.py:802–804  ·  view source on GitHub ↗

返回 True = 允许访问, False = 拒绝

(self, path: str)

Source from the content-addressed store, hash-verified

800 """不同的文件系统隔离策略"""
801 @abstractmethod
802 def check_path(self, path: str) -> bool:
803 """返回 True = 允许访问, False = 拒绝"""
804 ...
805 @abstractmethod
806 def name(self) -> str:
807 ...

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected