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

Method rm

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

Source from the content-addressed store, hash-verified

51 return self._fs.rm_file(path, *args, **kwargs)
52
53 def rm(self, path, *args, **kwargs):
54 path = posixpath.join(self.local_root_dir, self._strip_protocol(path))
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))

Callers

nothing calls this directly

Calls 1

_strip_protocolMethod · 0.95

Tested by

no test coverage detected