Compare commits

..

2 commits

Author SHA1 Message Date
37c354f8a2 feat: log progress
Some checks failed
Test / test (push) Failing after 1m25s
2024-09-18 11:23:22 +01:00
708bcb0b91 feat: scan for TODO and FIXME markers
Some checks failed
Test / test (push) Failing after 1m25s
2024-09-18 11:10:05 +01:00

View file

@ -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)?