MCPcopy
hub / github.com/treeverse/dvc / isin

Method isin

dvc/testing/path_info.py:255–260  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

253 return self._path.relative_to(other._path)
254
255 def isin(self, other):
256 if isinstance(other, (str, bytes)):
257 other = self.__class__(other)
258 elif self.__class__ != other.__class__:
259 return False
260 return self._base_parts == other._base_parts and self._path.isin(other._path)
261
262
263class CloudURLInfo(URLInfo):

Callers 10

__str__Method · 0.45
is_in_repoMethod · 0.45
funcMethod · 0.45
_data_prefixesMethod · 0.45
data_keysMethod · 0.45
brancherFunction · 0.45
switchFunction · 0.45
overlapsMethod · 0.45
isin_or_eqMethod · 0.45
getcwdMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected