Skip to content
Snippets Groups Projects
Unverified Commit c8ec6f59 authored by Richard Cordovano's avatar Richard Cordovano Committed by GitHub
Browse files

Merge pull request #1782 from raman-bt/5967-derived-file-attachment-path

5967: Path for derived file attachments should show the path in the d…
parents 90a18634 6b9f372a
Branches
Tags
No related merge requests found
...@@ -168,10 +168,12 @@ public FileAttachment(SleuthkitCase caseDb, Content dataSource, String pathName) ...@@ -168,10 +168,12 @@ public FileAttachment(SleuthkitCase caseDb, Content dataSource, String pathName)
* corresponding DerivedFile object. * corresponding DerivedFile object.
* *
* @param derivedFile Derived file for the attachment. * @param derivedFile Derived file for the attachment.
*
* @throws TskCoreException
*/ */
public FileAttachment(DerivedFile derivedFile) { public FileAttachment(DerivedFile derivedFile) throws TskCoreException {
objectID = derivedFile.getId(); objectID = derivedFile.getId();
path = derivedFile.getLocalAbsPath() + "/" + derivedFile.getName(); path = derivedFile.getUniquePath();
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment