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

Method check_path

tutorials/18_design_patterns_for_agents.py:811–811  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

809 class NoIsolation(IsolationStrategy):
810 """Off 模式: 不做任何隔离"""
811 def check_path(self, path): return True
812 def name(self): return "Off"
813
814 class WorkspaceOnly(IsolationStrategy):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected