MCPcopy Create free account
hub / github.com/apache/impala / _make_dir_if_not_exist

Function _make_dir_if_not_exist

docker/test-with-docker.py:401–405  ·  view source on GitHub ↗
(*parts)

Source from the content-addressed store, hash-verified

399
400
401def _make_dir_if_not_exist(*parts):
402 d = os.path.join(*parts)
403 if not os.path.exists(d):
404 os.makedirs(d)
405 return d
406
407
408class Container(object):

Callers 3

mainFunction · 0.85
_create_containerMethod · 0.85
runMethod · 0.85

Calls 2

joinMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected