DocumentResultList: Remove Hashes for now

This commit is contained in:
Jonathan Jenne 2021-03-22 15:40:15 +01:00
parent ad1b1fca2f
commit e4baa1d671

View File

@ -47,8 +47,8 @@ Public Class frmDocumentResultList
Private _ActiveGridBand As GridBand = Nothing
' TODO: Hashes for checking if the opened file was modified externally
Private _HashOriginalFile As String = Nothing
Private _HashOpenedFile As String = Nothing
'Private _HashOriginalFile As String = Nothing
'Private _HashOpenedFile As String = Nothing
Private WithEvents _FileOpenTimer As New Timer
Private _OpenDocuments As New DocumentResultCache(50000000)
@ -162,7 +162,8 @@ Public Class frmDocumentResultList
If Not File.Exists(oDocumentInfo.FullPath) Then
Show_Warning("File does not exist!")
_HashOriginalFile = Nothing
' TODO: Create checksum after closing, compare and take action
'_HashOriginalFile = Nothing
Exit Sub
End If
@ -183,7 +184,7 @@ Public Class frmDocumentResultList
End If
' TODO: Create checksum after closing, compare and take action
_HashOriginalFile = _Filesystem.GetChecksum(oDocumentInfo.FullPath)
'_HashOriginalFile = _Filesystem.GetChecksum(oDocumentInfo.FullPath)
End If
Catch ex As Exception
_Logger.Error(ex)