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

Method makedirs

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

Source from the content-addressed store, hash-verified

20 return self._fs.mkdir(path, *args, **kwargs)
21
22 def makedirs(self, path, *args, **kwargs):
23 path = posixpath.join(self.local_root_dir, self._strip_protocol(path))
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))

Callers 15

save_to_diskMethod · 0.80
__init__Method · 0.80
incomplete_dirMethod · 0.80
save_to_diskMethod · 0.80
__init__Method · 0.80
get_from_cacheFunction · 0.80
extractMethod · 0.80
extractMethod · 0.80
extractMethod · 0.80
extractMethod · 0.80

Calls 1

_strip_protocolMethod · 0.95

Tested by 3

runMethod · 0.64
test_builder_as_datasetFunction · 0.64