MCPcopy
hub / github.com/pyinstaller/pyinstaller / get_src

Method get_src

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

Source from the content-addressed store, hash-verified

426 return False
427
428 def get_src(self):
429 cur = self
430 x = self.ctx.srcnode
431 y = self.ctx.bldnode
432 lst = []
433 while cur.parent:
434 if cur is y:
435 lst.reverse()
436 return x.make_node(lst)
437 if cur is x:
438 return self
439 lst.append(cur.name)
440 cur = cur.parent
441 return self
442
443 def get_bld(self):
444 cur = self

Callers 1

find_resourceMethod · 0.95

Calls 2

make_nodeMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected