Repository URL to install this package:
Version:
1.0.8-2 ▾
|
import shutil
from tox import reporter
def ensure_empty_dir(path):
if path.check():
reporter.info(" removing {}".format(path))
shutil.rmtree(str(path), ignore_errors=True)
path.ensure(dir=1)