mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
s3: don't use walk_files for list_cache_paths
No need to convert back and forth from string to PathInfo
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ class RemoteS3(RemoteBASE):
|
||||
)
|
||||
|
||||
def list_cache_paths(self):
|
||||
return [info.path for info in self.walk_files(self.path_info)]
|
||||
return self._list_paths(self.path_info)
|
||||
|
||||
def exists(self, path_info):
|
||||
dir_path = path_info / ""
|
||||
|
||||
Reference in New Issue
Block a user