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

Method get_dependency

tools/ng/core.py:116–126  ·  view source on GitHub ↗

Check if dependency is satisfied. Args: depend: Dependency name or list of names Returns: True if dependency is satisfied

(self, depend: Any)

Source from the content-addressed store, hash-verified

114 self.logger.warning(f"Configuration file {config_file} not found")
115
116 def get_dependency(self, depend: Any) -> bool:
117 """
118 Check if dependency is satisfied.
119
120 Args:
121 depend: Dependency name or list of names
122
123 Returns:
124 True if dependency is satisfied
125 """
126 return self.config_manager.get_dependency(depend)
127
128 def register_project_group(self, group) -> None:
129 """

Callers 2

GetDependFunction · 0.45
GetDependMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected