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 eb0ab68 commit 2b3b41fCopy full SHA for 2b3b41f
rust/kafka-deduplicator/src/checkpoint/planner.rs
@@ -1,5 +1,4 @@
1
use std::collections::HashMap;
2
-use std::fs::File;
3
use std::path::{Path, PathBuf};
4
5
use super::{CheckpointFile, CheckpointInfo, CheckpointMetadata};
@@ -216,7 +215,7 @@ fn build_candidate_file(file_path: &Path) -> Result<LocalCheckpointFile> {
216
215
}
217
218
fn load_and_hash_file(file_path: &Path) -> Result<String> {
219
- let mut file = File::open(file_path)
+ let mut file = std::fs::File::open(file_path)
220
.with_context(|| format!("Failed to open file for hashing: {file_path:?}"))?;
221
222
let mut hasher = Sha256::new();
0 commit comments