def path2url(p):
    return six.moves.urllib.parse.urljoin(
        'file:', six.moves.urllib.request.pathname2url(p)
    )
Returns a dict object of views that should be
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/utils.py/path2url--crossover with--dataset/ETHPy150Open saltstack/salt/salt/returners/couchdb_return.py/get_valid_salt_views