def _files_in_dir(dir, filter=None):
    if filter:
        files = [x for x in glob.glob(os.path.join(dir, "*")) if _extension(x) in filter]
    else:
        files = [x for x in glob.glob(os.path.join(dir, "*"))]
    return files
Ensure that the named user is present with the specified properties. A
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/_files_in_dir--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/mysql_user.py/present