Files
rustfs/crates
WenTao 0efc818635 Fix Windows path separator issue using PathBuf (#482)
* Update mod.rs

The following code uses a separator that is not compatible with Windows:

format!("{}/{}", file_config.path.clone(), rustfs_config::DEFAULT_SINK_FILE_LOG_FILE)


Change it to the following code:


std::path::Path::new(&file_config.path)
    .join(rustfs_config::DEFAULT_SINK_FILE_LOG_FILE)
    .to_string_lossy()
    .to_string()

* Replaced format! macro with PathBuf::join to fix path separator issue on Windows.Tested on Windows 10 with Rust 1.85.0, paths now correctly use \ separator.
2025-09-03 15:25:08 +08:00
..
2025-09-03 15:12:58 +08:00
2025-08-08 10:23:22 +08:00
2025-07-24 12:14:05 +08:00
2025-09-01 16:11:28 +08:00
2025-09-03 15:12:58 +08:00
2025-08-23 17:30:06 +08:00
2025-08-23 17:30:06 +08:00
2025-08-25 10:24:48 +08:00