MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / parse_project_version

Function parse_project_version

unity_cli/hub/project.py:63–68  ·  view source on GitHub ↗

Parse ProjectVersion.txt from a Unity project. Convenience function that wraps ProjectVersion.from_file().

(project_path: Path)

Source from the content-addressed store, hash-verified

61
62
63def parse_project_version(project_path: Path) -> ProjectVersion:
64 """Parse ProjectVersion.txt from a Unity project.
65
66 Convenience function that wraps ProjectVersion.from_file().
67 """
68 return ProjectVersion.from_file(project_path)
69
70
71def is_unity_project(path: Path) -> bool:

Callers

nothing calls this directly

Calls 1

from_fileMethod · 0.45

Tested by

no test coverage detected