MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / GetDepend

Function GetDepend

tools/ng/adapter.py:98–110  ·  view source on GitHub ↗

Legacy GetDepend function for backward compatibility. Args: depend: Dependency to check Returns: True if dependency is satisfied

(depend: Any)

Source from the content-addressed store, hash-verified

96
97
98def GetDepend(depend: Any) -> bool:
99 """
100 Legacy GetDepend function for backward compatibility.
101
102 Args:
103 depend: Dependency to check
104
105 Returns:
106 True if dependency is satisfied
107 """
108 if _context:
109 return _context.get_dependency(depend)
110 return False
111
112
113def GetCurrentDir() -> str:

Callers

nothing calls this directly

Calls 1

get_dependencyMethod · 0.45

Tested by

no test coverage detected