MCPcopy Index your code
hub / github.com/python/cpython / anchor

Method anchor

Lib/pathlib/types.py:114–116  ·  view source on GitHub ↗

The concatenation of the drive and root, or ''.

(self)

Source from the content-addressed store, hash-verified

112
113 @property
114 def anchor(self):
115 """The concatenation of the drive and root, or ''."""
116 return _explode_path(vfspath(self), self.parser.split)[0]
117
118 @property
119 def name(self):

Callers

nothing calls this directly

Calls 2

vfspathFunction · 0.90
_explode_pathFunction · 0.85

Tested by

no test coverage detected