diff --git a/alek_ext/src/main.rs b/alek_ext/src/main.rs index 353da50dc3..7b51745449 100644 --- a/alek_ext/src/main.rs +++ b/alek_ext/src/main.rs @@ -1,13 +1,9 @@ /* **WIP** * This is a MWE of using our RemoteStorage API to call the aws stuff and download multiple files - * * TODO: - * fix local_fs and s3_bucket list_files functions. specifically - * 1. local_fs mostly just clean up the error handling or whatever * 2. s3_bucket needs a lot of work; for example to make sure the pagination thing goes fine. - * - * 3. figure out how to write dirrectly from the buffer to a local file + * 3. figure out how to write directly from the buffer to a local file; and just generally clean up main.rs */ use remote_storage::*; diff --git a/libs/remote_storage/src/local_fs.rs b/libs/remote_storage/src/local_fs.rs index acc9c4a004..d07a415e5d 100644 --- a/libs/remote_storage/src/local_fs.rs +++ b/libs/remote_storage/src/local_fs.rs @@ -128,10 +128,8 @@ impl RemoteStorage for LocalFs { Some(folder) => folder.with_base(&self.storage_root), None => self.storage_root.clone(), }; - println!("{:?}", full_path); let mut entries = fs::read_dir(full_path).await?; let mut files = vec![]; - while let Some(entry) = entries.next_entry().await? { let file_name: PathBuf = entry.file_name().into(); let file_type = entry.file_type().await?;