MCPcopy
hub / github.com/lightningpixel/modly / _is_windows_drive_component

Function _is_windows_drive_component

tools/modly-cli/agent.py:141–142  ·  view source on GitHub ↗
(component: str)

Source from the content-addressed store, hash-verified

139
140
141def _is_windows_drive_component(component: str) -> bool:
142 return len(component) >= 2 and component[0].isalpha() and component[1] == ":"
143
144
145def _validate_workspace_path(workspace_path: str) -> str:

Callers 1

_validate_workspace_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected