mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
ls-url: simplify parse_external_url()
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
0d025e5943
commit
103a0e2523
+1
-1
@@ -5,7 +5,7 @@ from dvc.fs import get_cloud_fs
|
||||
def parse_external_url(url):
|
||||
fs_cls, fs_config, fs_path = get_cloud_fs(None, url=url)
|
||||
fs = fs_cls(**fs_config)
|
||||
return fs, fs.path.abspath(fs.path.normpath(fs_path))
|
||||
return fs, fs_path
|
||||
|
||||
|
||||
def ls_url(url, recursive=False):
|
||||
|
||||
Reference in New Issue
Block a user