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

Method rmdir

tests/fixtures/fsspec.py:26–28  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

24 return self._fs.makedirs(path, *args, **kwargs)
25
26 def rmdir(self, path):
27 path = posixpath.join(self.local_root_dir, self._strip_protocol(path))
28 return self._fs.rmdir(path)
29
30 def ls(self, path, detail=True, *args, **kwargs):
31 path = posixpath.join(self.local_root_dir, self._strip_protocol(path))

Callers 1

__init__Method · 0.80

Calls 1

_strip_protocolMethod · 0.95

Tested by

no test coverage detected