Set the cache for listing files. Default is `None` (disabled).
(
mut self,
cache: Option<Arc<dyn ListFilesCache>>,
)
| 514 | /// |
| 515 | /// Default is `None` (disabled). |
| 516 | pub fn with_list_files_cache( |
| 517 | mut self, |
| 518 | cache: Option<Arc<dyn ListFilesCache>>, |
| 519 | ) -> Self { |
| 520 | self.list_files_cache = cache; |
| 521 | self |
| 522 | } |
| 523 | |
| 524 | /// Sets the limit of the list files cache, in bytes. |
| 525 | /// |
no outgoing calls