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

Function PriorityInsertGroup

tools/building.py:671–677  ·  view source on GitHub ↗
(groups, group)

Source from the content-addressed store, hash-verified

669 return objs
670
671 def PriorityInsertGroup(groups, group):
672 length = len(groups)
673 for i in range(0, length):
674 if operator.gt(groups[i]['name'].lower(), group['name'].lower()):
675 groups.insert(i, group)
676 return
677 groups.append(group)
678
679 # add a new group
680 PriorityInsertGroup(Projects, group)

Callers 1

DefineGroupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected