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

Function _validate_session_fs_config

python/copilot/client.py:207–213  ·  view source on GitHub ↗
(config: SessionFsConfig)

Source from the content-addressed store, hash-verified

205
206
207def _validate_session_fs_config(config: SessionFsConfig) -> None:
208 if not config.get("initial_working_directory"):
209 raise ValueError("session_fs.initial_working_directory is required")
210 if not config.get("session_state_path"):
211 raise ValueError("session_fs.session_state_path is required")
212 if config.get("conventions") not in ("posix", "windows"):
213 raise ValueError("session_fs.conventions must be either 'posix' or 'windows'")
214
215
216def _mcp_servers_to_wire(

Callers 1

__init__Method · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…