We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfdb1c commit 9d91f4fCopy full SHA for 9d91f4f
rust/cubestore/cubestore/src/remotefs/mod.rs
@@ -225,7 +225,7 @@ impl RemoteFs for LocalDirRemoteFs {
225
))
226
})?;
227
debug!("Copy {temp_upload_path} => {}", dest.display());
228
- fs::copy(&temp_upload_path, dest.clone())
+ let copy_res = fs::copy(&temp_upload_path, dest.clone())
229
.await
230
.map_err(|e| {
231
CubeError::internal(format!(
@@ -235,6 +235,7 @@ impl RemoteFs for LocalDirRemoteFs {
235
e
236
237
238
+ debug!("Copied {copy_res} bytes from {temp_upload_path} to {}", dest.display());
239
}
240
if has_remote {
241
let size = fs::metadata(&temp_upload_path).await?.len();
0 commit comments