MCPcopy
hub / github.com/pyinstaller/pyinstaller / height

Method height

bootloader/waflib/Node.py:193–199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

191 return self.name[k:]
192
193 def height(self):
194 d = self
195 val = -1
196 while d:
197 d = d.parent
198 val += 1
199 return val
200
201 def listdir(self):
202 lst = Utils.listdir(self.abspath())

Callers 2

is_child_ofMethod · 0.95
path_fromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected