mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 19:14:55 +00:00
Merge pull request #1515 from sidheshenator/exclude_virtual_files
exclude virtual files from file type search
This commit is contained in:
commit
bdd4920875
@ -167,7 +167,8 @@ public class FileTypeDetector {
|
||||
// as octet-stream.
|
||||
if (!file.isFile() || file.getSize() <= 0
|
||||
|| (file.getType() == TskData.TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS)
|
||||
|| (file.getType() == TskData.TSK_DB_FILES_TYPE_ENUM.UNUSED_BLOCKS)) {
|
||||
|| (file.getType() == TskData.TSK_DB_FILES_TYPE_ENUM.UNUSED_BLOCKS)
|
||||
|| (file.getType() == TskData.TSK_DB_FILES_TYPE_ENUM.VIRTUAL_DIR)) {
|
||||
return MimeTypes.OCTET_STREAM;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user