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

Function handle_session_fs_exists

python/copilot/generated/rpc.py:26970–26975  ·  view source on GitHub ↗
(params: dict)

Source from the content-addressed store, hash-verified

26968 return result.to_dict() if result is not None else None
26969 client.set_request_handler("sessionFs.appendFile", handle_session_fs_append_file)
26970 async def handle_session_fs_exists(params: dict) -> dict | None:
26971 request = SessionFSExistsRequest.from_dict(params)
26972 handler = get_handlers(request.session_id).session_fs
26973 if handler is None: raise RuntimeError(f"No session_fs handler registered for session: {request.session_id}")
26974 result = await handler.exists(request)
26975 return result.to_dict()
26976 client.set_request_handler("sessionFs.exists", handle_session_fs_exists)
26977 async def handle_session_fs_stat(params: dict) -> dict | None:
26978 request = SessionFSStatRequest.from_dict(params)

Callers

nothing calls this directly

Calls 3

existsMethod · 0.65
from_dictMethod · 0.45
to_dictMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…