MCPcopy Create free account
hub / github.com/apache/arrow / _has_subdirs

Function _has_subdirs

python/pyarrow/tests/test_dataset.py:2270–2272  ·  view source on GitHub ↗
(basedir)

Source from the content-addressed store, hash-verified

2268
2269
2270def _has_subdirs(basedir):
2271 elements = os.listdir(basedir)
2272 return any([os.path.isdir(os.path.join(basedir, el)) for el in elements])
2273
2274
2275def _do_list_all_dirs(basedir, path_so_far, result):

Callers 1

_do_list_all_dirsFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected