diff options
| author | A Farzat <a@farzat.xyz> | 2026-06-19 20:17:37 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2026-06-19 20:17:37 +0300 |
| commit | 934aca7bf60d5a20e9fbd7b4a2ba1a9ce43fab04 (patch) | |
| tree | 3cfdcfb2b42897021ccd595e836a6250ef4f741f /src/normalizer.rs | |
| parent | 69d35d75d9692e76ea017f5012ad7e38b84c3992 (diff) | |
| download | repo2markdown-934aca7bf60d5a20e9fbd7b4a2ba1a9ce43fab04.tar.gz repo2markdown-934aca7bf60d5a20e9fbd7b4a2ba1a9ce43fab04.zip | |
Make remove_paths normalize paths for comparison
Diffstat (limited to 'src/normalizer.rs')
| -rw-r--r-- | src/normalizer.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/normalizer.rs b/src/normalizer.rs index a9714b3..116cca1 100644 --- a/src/normalizer.rs +++ b/src/normalizer.rs @@ -4,6 +4,7 @@ use std::{ path::{Component, Path, PathBuf}, }; +#[derive(PartialEq, Eq, Hash)] pub struct NormalizedPath { /// Path normalized and made absolute, suitable for filesystem access pub absolute: PathBuf, |
