keyhog-core 0.5.40

keyhog-core: shared data model and detector specifications for the KeyHog secret scanner
Documentation
1
2
3
4
5
6
7
//! Migrated from `src/safe_bin.rs` inline tests.
use keyhog_core::safe_bin::resolve_safe_bin;
#[test]
fn unknown_binary_is_none() {
    // A name that should never exist on any system.
    assert!(resolve_safe_bin("definitely-not-a-real-binary-xyz123").is_none());
}