MCPcopy Index your code
hub / github.com/github/copilot-sdk / rm

Method rm

python/copilot/session_fs_provider.py:247–256  ·  view source on GitHub ↗
(self, params: Any)

Source from the content-addressed store, hash-verified

245 )
246
247 async def rm(self, params: Any) -> SessionFSError | None:
248 try:
249 await self._p.rm(
250 params.path,
251 getattr(params, "recursive", False),
252 getattr(params, "force", False),
253 )
254 return None
255 except Exception as exc:
256 return _to_session_fs_error(exc)
257
258 async def rename(self, params: Any) -> SessionFSError | None:
259 try:

Callers

nothing calls this directly

Calls 2

_to_session_fs_errorFunction · 0.85
rmMethod · 0.65

Tested by

no test coverage detected