Ruslan Kuprieiev
72fd265a8f
get-url/ls-url: support remote:// with in-repo config
2023-10-13 18:58:23 +03:00
Ronan Lamy
a6cdb9efd2
ls-url: remove redundant tests
2022-10-04 14:37:29 +03:00
Ronan Lamy
bd88000e2f
ls-url: add ls-url tests for dvc plugins
2022-10-04 14:37:29 +03:00
Ronan Lamy
8a1c757497
fix test on Windows
2022-10-04 14:37:29 +03:00
Ronan Lamy
0d025e5943
ls-url: add --recursive option
2022-10-04 14:37:29 +03:00
Ronan Lamy
b01c4f8b05
ls-url: call get_cloud_fs() directly
...
Note: removes a spurious check on whether the target is a dvc file.
2022-10-04 14:37:29 +03:00
Ronan Lamy
71734a3d09
ls-url: fix test_file() on Windows and add another case
2022-10-04 14:37:29 +03:00
Ronan Lamy
fa7619dfee
ls-url: create basic version of dvc ls-url command
...
For now, this only takes a URL (or local path) and lists its contents
if the protocol supports it. The command fails if the target doesn't
exist and returns the (absolute) path to the target if it's not a
directory.
2022-10-04 14:37:29 +03:00