(self, workspace: str)
| 814 | class WorkspaceOnly(IsolationStrategy): |
| 815 | """WorkspaceOnly 模式: 只允许访问工作区""" |
| 816 | def __init__(self, workspace: str): |
| 817 | self.workspace = workspace |
| 818 | def check_path(self, path): |
| 819 | return path.startswith(self.workspace) |
| 820 | def name(self): return "WorkspaceOnly" |
nothing calls this directly
no outgoing calls
no test coverage detected