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

Function _enable_host_git_operations_default

python/copilot/_mode.py:230–235  ·  view source on GitHub ↗

Empty mode defaults host git operations to False; caller value wins.

(
    mode: CopilotClientMode | None,
    supplied: bool | None,
)

Source from the content-addressed store, hash-verified

228
229
230def _enable_host_git_operations_default(
231 mode: CopilotClientMode | None,
232 supplied: bool | None,
233) -> bool | None:
234 """Empty mode defaults host git operations to False; caller value wins."""
235 return _empty_mode_bool_default(mode, supplied, False)
236
237
238def _enable_session_store_default(

Callers 2

create_sessionMethod · 0.85
resume_sessionMethod · 0.85

Calls 1

_empty_mode_bool_defaultFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…