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

Method __init__

server/utils.py:62–65  ·  view source on GitHub ↗
(self, filename: str, original_filepath: str, normalized_filepath: str)

Source from the content-addressed store, hash-verified

60
61class ModelFileWithNodeInfo:
62 def __init__(self, filename: str, original_filepath: str, normalized_filepath: str):
63 self.filename = filename
64 self.original_filepath = original_filepath
65 self.normalized_filepath = normalized_filepath
66
67def convert_to_unix_path(path: str) -> str:
68 return path.replace("\\\\", "/").replace("\\", "/")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected