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

Function ExtendPackageVar

tools/package.py:31–39  ·  view source on GitHub ↗
(package, var)

Source from the content-addressed store, hash-verified

29from building import *
30
31def ExtendPackageVar(package, var):
32 v = []
33 if var not in package:
34 return v
35
36 for item in package[var]:
37 v = v + [item]
38
39 return v
40
41def BuildPackage(package = None):
42 if package is None:

Callers 1

BuildPackageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected