MCPcopy
hub / github.com/huggingface/datasets / _open

Method _open

tests/fixtures/fsspec.py:57–59  ·  view source on GitHub ↗
(self, path, *args, **kwargs)

Source from the content-addressed store, hash-verified

55 return self._fs.rm(path, *args, **kwargs)
56
57 def _open(self, path, *args, **kwargs):
58 path = posixpath.join(self.local_root_dir, self._strip_protocol(path))
59 return self._fs._open(path, *args, **kwargs)
60
61 def created(self, path):
62 path = posixpath.join(self.local_root_dir, self._strip_protocol(path))

Callers

nothing calls this directly

Calls 1

_strip_protocolMethod · 0.95

Tested by

no test coverage detected