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

Method dump

tools/mkromfs.py:117–120  ·  view source on GitHub ↗
(self, indent=0)

Source from the content-addressed store, hash-verified

115 c.sort()
116
117 def dump(self, indent=0):
118 print('%s%s' % (' ' * indent, self._name))
119 for c in self._children:
120 c.dump(indent + 1)
121
122 def c_data(self, prefix=''):
123 '''get the C code represent of the folder.

Callers

nothing calls this directly

Calls 1

dumpMethod · 0.45

Tested by

no test coverage detected