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

Method info

unity_cli/api/asset.py:63–78  ·  view source on GitHub ↗

Get asset information. Args: path: Asset path Returns: Dictionary with asset info (name, type, guid, etc.)

(self, path: str)

Source from the content-addressed store, hash-verified

61 )
62
63 def info(self, path: str) -> dict[str, Any]:
64 """Get asset information.
65
66 Args:
67 path: Asset path
68
69 Returns:
70 Dictionary with asset info (name, type, guid, etc.)
71 """
72 return self._conn.send_request(
73 "asset",
74 {
75 "action": "info",
76 "path": path,
77 },
78 )
79
80 def deps(self, path: str, *, recursive: bool = True) -> dict[str, Any]:
81 """Get asset dependencies (what this asset depends on).

Callers 15

asset_infoFunction · 0.80
startMethod · 0.80
stopMethod · 0.80
_handle_unity_messageMethod · 0.80
_process_queueMethod · 0.80
_wait_for_instanceMethod · 0.80
_enqueue_commandMethod · 0.80
_execute_commandMethod · 0.80
flush_queueMethod · 0.80
registerMethod · 0.80

Calls 1

send_requestMethod · 0.80

Tested by

no test coverage detected