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

Method GetContext

tools/ng/environment.py:262–272  ·  view source on GitHub ↗

Get current build context. Args: env: SCons Environment Returns: BuildContext instance or None

(env)

Source from the content-addressed store, hash-verified

260
261 @staticmethod
262 def GetContext(env) -> Optional[BuildContext]:
263 """
264 Get current build context.
265
266 Args:
267 env: SCons Environment
268
269 Returns:
270 BuildContext instance or None
271 """
272 return BuildContext.get_current()
273
274 @staticmethod
275 def GetRTTRoot(env) -> str:

Callers

nothing calls this directly

Calls 1

get_currentMethod · 0.45

Tested by

no test coverage detected