implement info-hash enum

This commit is contained in:
yggverse 2025-07-08 15:47:52 +03:00
parent b3bf89b6f7
commit dcbb4108fd
3 changed files with 23 additions and 8 deletions

View file

@ -98,6 +98,8 @@ async fn main() -> Result<()> {
continue;
}
} {
// convert to string once
let i = i.to_string();
// is already indexed?
if index.has(&i) {
continue;