Skip to content
Snippets Groups Projects
Commit 43dd5606 authored by Ann Priestman's avatar Ann Priestman
Browse files

Restore setting localPath

parent e8f4dadf
No related branches found
No related tags found
No related merge requests found
...@@ -903,6 +903,7 @@ void setLocalFilePath(String localPath) { ...@@ -903,6 +903,7 @@ void setLocalFilePath(String localPath) {
// It should always be the case that absolute paths start with slashes or a windows drive letter // It should always be the case that absolute paths start with slashes or a windows drive letter
// and relative paths do not, but some older versions of modules created derived file paths // and relative paths do not, but some older versions of modules created derived file paths
// starting with slashes. So we first check if this file is a DerivedFile before looking at the path. // starting with slashes. So we first check if this file is a DerivedFile before looking at the path.
this.localPath = localPath;
if (this instanceof DerivedFile) { if (this instanceof DerivedFile) {
// DerivedFiles always have relative paths // DerivedFiles always have relative paths
this.localAbsPath = getSleuthkitCase().getDbDirPath() + java.io.File.separator + localPath; this.localAbsPath = getSleuthkitCase().getDbDirPath() + java.io.File.separator + localPath;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment