thrussh_keys::check_known_hosts_path() seems ill-equipped to handle hashed socket addresses
Probably, because I don’t know what hashed socked addresses are. Any suggestion is welcome.
So don’t slurp if you’re just wanting Iterator::has().
The file is read line by line here, and it assumes that the input doesn’t have very large lines.
thrussh_keys::check_known_hosts_path()
seems ill-equipped to handle hashed socket addresses. Also, I don’t know if this is a rust thing, but a file can be sizes well excess available memory… So don’t slurp if you’re just wantingIterator::has()
.