MCPcopy Create free account
hub / github.com/ActiveState/code / get

Method get

recipes/Python/577321_Win_Shortcuts_wrapper/recipe-577321.py:25–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 link.Targetpath=target
24 link.save()
25 def get(self):
26 if exists(self.path):
27 return self._link.Targetpath
28 return get, set
29 def __str__(self):
30 return '%s -> %s' % (self.path[:-4], self.target or '')

Callers 15

__serveMethod · 0.45
recipe-577162.pyFile · 0.45
valueMethod · 0.45
__mul__Method · 0.45
__truediv__Method · 0.45
get_defaultMethod · 0.45
runMethod · 0.45
read_fileFunction · 0.45
write_fileFunction · 0.45
hook_adviceFunction · 0.45
_whichFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected