mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 02:07:42 +00:00
5368 use parent's unique path for grouping by parent path
This commit is contained in:
parent
b1f8f630be
commit
4460d13d26
@ -656,11 +656,16 @@ class FileSearch {
|
|||||||
*/
|
*/
|
||||||
private static class ParentPathGroupKey extends GroupKey {
|
private static class ParentPathGroupKey extends GroupKey {
|
||||||
|
|
||||||
private final String parentPath;
|
private String parentPath;
|
||||||
|
|
||||||
ParentPathGroupKey(ResultFile file) {
|
ParentPathGroupKey(ResultFile file) {
|
||||||
if (file.getFirstInstance().getParentPath() != null) {
|
if (file.getFirstInstance().getParentPath() != null) {
|
||||||
parentPath = file.getFirstInstance().getParentPath();
|
|
||||||
|
try {
|
||||||
|
parentPath = file.getFirstInstance().getParent().getUniquePath();
|
||||||
|
} catch (TskCoreException ingored) {
|
||||||
|
parentPath = file.getFirstInstance().getParentPath();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
parentPath = ""; // NON-NLS
|
parentPath = ""; // NON-NLS
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user