mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Cleanup
This commit is contained in:
parent
3b8a430025
commit
1e395f0acb
@ -102,7 +102,7 @@ final class VMExtractorIngestModule extends DataSourceIngestModuleAdapter {
|
|||||||
|
|
||||||
if (vmFiles.isEmpty()) {
|
if (vmFiles.isEmpty()) {
|
||||||
// no VM files found
|
// no VM files found
|
||||||
logger.log(Level.INFO, "No virtual machine files found");
|
logger.log(Level.INFO, "No virtual machine files found in data source %s", dataSource.getName());
|
||||||
return ProcessResult.OK;
|
return ProcessResult.OK;
|
||||||
}
|
}
|
||||||
// display progress for saving each VM file to disk
|
// display progress for saving each VM file to disk
|
||||||
@ -188,7 +188,7 @@ final class VMExtractorIngestModule extends DataSourceIngestModuleAdapter {
|
|||||||
|
|
||||||
private void writeVirtualMachineToDisk(AbstractFile vmFile, String outputFolderForThisVM) throws IOException {
|
private void writeVirtualMachineToDisk(AbstractFile vmFile, String outputFolderForThisVM) throws IOException {
|
||||||
|
|
||||||
// TODO: check available disk space first
|
// TODO: check available disk space first? See IngestMonitor.getFreeSpace()
|
||||||
|
|
||||||
// check if output folder exists
|
// check if output folder exists
|
||||||
File destinationFolder = Paths.get(outputFolderForThisVM).toFile();
|
File destinationFolder = Paths.get(outputFolderForThisVM).toFile();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user