MCPcopy Create free account
hub / github.com/ComfyWorkflows/ComfyUI-Launcher / convert_to_windows_path

Function convert_to_windows_path

server/utils.py:70–71  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

68 return path.replace("\\\\", "/").replace("\\", "/")
69
70def convert_to_windows_path(path: str) -> str:
71 return path.replace("/", "\\")
72
73def extract_model_file_names_with_node_info(json_data: Union[Dict, List], is_windows: bool = False) -> List[ModelFileWithNodeInfo]:
74 file_names = []

Callers 1

recursive_searchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected