Compare commits
2 commits
f682a12c91
...
37c354f8a2
Author | SHA1 | Date | |
---|---|---|---|
37c354f8a2 | |||
708bcb0b91 |
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ fn scan_files(config: &Config, found_markers: &mut FoundMarkers) -> Result<()> {
|
|||
}
|
||||
|
||||
fn scan_dir(dir: &Path, config: &Config, found_markers: &mut FoundMarkers) -> Result<()> {
|
||||
println!("dir : {dir:?}");
|
||||
println!("dir : {}", dir.to_string_lossy());
|
||||
let read_dir = config.fs.dir_read(dir)?;
|
||||
for entry in read_dir {
|
||||
match entry? {
|
||||
|
@ -100,7 +100,7 @@ fn scan_dir(dir: &Path, config: &Config, found_markers: &mut FoundMarkers) -> Re
|
|||
}
|
||||
|
||||
fn scan_file(file: &Path, config: &Config, found_markers: &mut FoundMarkers) -> Result<()> {
|
||||
println!("file: {file:?}");
|
||||
println!("file: {}", file.to_string_lossy());
|
||||
config
|
||||
.fs
|
||||
.file_read_to_string(file)?
|
||||
|
|
Loading…
Reference in a new issue