Function cdragon_prop::is_binfile_path
source · pub fn is_binfile_path(path: &Path) -> bool
Expand description
Return true
if a path is a bin file path
This helper is intended to be used with files extracted by CDragon. It has several limitations.
- File content is not checked, only path is checkde
- Some PROP files don’t have the
.bin
extension, they will not be detected. (CDragon add the missing extension and thus does not have this problem.) - Some files have a
.bin
extension but are not actually PROP files. This helper returnfalse
for known occurrences.