示例#1
0
def glob(path, fs_options={}, fs=None):
    if fs:
        raise ValueError('globbing with custom fs not supported yet, please open an issue.')
    scheme, _ = split_scheme(path)
    if not scheme:
        return local_glob(path)
    module = _get_scheme_handler(path)
    return module.glob(path, fs_options)
示例#2
0
文件: __init__.py 项目: kz33/vaex
def glob(path, fs_options={}):
    scheme, _ = split_scheme(path)
    if not scheme:
        return local_glob(path)
    module = _get_scheme_handler(path)
    return module.glob(path, fs_options)
示例#3
0
def glob(pattern):
    if is_ssh_path(pattern):
        return remote_glob(pattern)
    return local_glob(pattern)