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)
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)
def glob(pattern): if is_ssh_path(pattern): return remote_glob(pattern) return local_glob(pattern)