MCPcopy
hub / github.com/cool-RR/PySnooper / _make_child_relpath

Method _make_child_relpath

tests/mini_toolbox/pathlib.py:1212–1216  ·  view source on GitHub ↗
(self, part)

Source from the content-addressed store, hash-verified

1210 self._accessor = _normal_accessor
1211
1212 def _make_child_relpath(self, part):
1213 # This is an optimization used for dir walking. `part` must be
1214 # a single part relative to this path.
1215 parts = self._parts + [part]
1216 return self._from_parsed_parts(self._drv, self._root, parts)
1217
1218 def __enter__(self):
1219 if self._closed:

Callers 4

iterdirMethod · 0.95
try_iterMethod · 0.80
try_iterMethod · 0.80
try_iterMethod · 0.80

Calls 1

_from_parsed_partsMethod · 0.80

Tested by

no test coverage detected