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:
Ruslan Kuprieiev
2019-10-26 00:29:23 +03:00
committed by GitHub
parent 1ab9319682
commit 1baf020de7
+1 -1
View File
@@ -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 / ""