mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-29 08:27:06 +00:00
fix: The issue of multi-level objects created in Windows not being displayed has been fixed (#661) (#723)
This commit is contained in:
@@ -952,6 +952,12 @@ async fn gather_results(
|
|||||||
let mut recv = recv;
|
let mut recv = recv;
|
||||||
let mut entries = Vec::new();
|
let mut entries = Vec::new();
|
||||||
while let Some(mut entry) = recv.recv().await {
|
while let Some(mut entry) = recv.recv().await {
|
||||||
|
#[cfg(windows)]
|
||||||
|
{
|
||||||
|
// normalize windows path separator
|
||||||
|
entry.name = entry.name.replace("\\", "/");
|
||||||
|
}
|
||||||
|
|
||||||
if returned {
|
if returned {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user