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

Method get_current

tools/ng/core.py:60–62  ·  view source on GitHub ↗

Get the current build context.

(cls)

Source from the content-addressed store, hash-verified

58
59 @classmethod
60 def get_current(cls) -> Optional['BuildContext']:
61 """Get the current build context."""
62 return cls._current_context
63
64 @classmethod
65 def set_current(cls, context: Optional['BuildContext']) -> None:

Callers 8

DefineGroupMethod · 0.45
GetDependMethod · 0.45
BuildPackageMethod · 0.45
GlobMethod · 0.45
GetBuildOptionsMethod · 0.45
GetContextMethod · 0.45
generateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected