def check_md5sums_all(root=None, failure_cb=_default_failure, progress_cb=None):
    if root is None:
        root = os.getcwd()
    check_md5sums(root, failure_cb, progress_cb)
    names = os.listdir(root)
    for name in names:
        if os.path.isdir(name):
            if progress_cb:
                progress_cb("\nChecking directory: %r" %(name,), 1)
            check_md5sums_all(os.path.join(root, name), failure_cb, progress_cb)
dataset/ETHPy150Open kdart/pycopia/core/pycopia/md5lib.py/check_md5sums_all/original