DocumentResultList: Remove Hashes for now
This commit is contained in:
parent
ad1b1fca2f
commit
e4baa1d671
@ -47,8 +47,8 @@ Public Class frmDocumentResultList
|
|||||||
Private _ActiveGridBand As GridBand = Nothing
|
Private _ActiveGridBand As GridBand = Nothing
|
||||||
|
|
||||||
' TODO: Hashes for checking if the opened file was modified externally
|
' TODO: Hashes for checking if the opened file was modified externally
|
||||||
Private _HashOriginalFile As String = Nothing
|
'Private _HashOriginalFile As String = Nothing
|
||||||
Private _HashOpenedFile As String = Nothing
|
'Private _HashOpenedFile As String = Nothing
|
||||||
|
|
||||||
Private WithEvents _FileOpenTimer As New Timer
|
Private WithEvents _FileOpenTimer As New Timer
|
||||||
Private _OpenDocuments As New DocumentResultCache(50000000)
|
Private _OpenDocuments As New DocumentResultCache(50000000)
|
||||||
@ -162,7 +162,8 @@ Public Class frmDocumentResultList
|
|||||||
|
|
||||||
If Not File.Exists(oDocumentInfo.FullPath) Then
|
If Not File.Exists(oDocumentInfo.FullPath) Then
|
||||||
Show_Warning("File does not exist!")
|
Show_Warning("File does not exist!")
|
||||||
_HashOriginalFile = Nothing
|
' TODO: Create checksum after closing, compare and take action
|
||||||
|
'_HashOriginalFile = Nothing
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@ -183,7 +184,7 @@ Public Class frmDocumentResultList
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
' TODO: Create checksum after closing, compare and take action
|
' TODO: Create checksum after closing, compare and take action
|
||||||
_HashOriginalFile = _Filesystem.GetChecksum(oDocumentInfo.FullPath)
|
'_HashOriginalFile = _Filesystem.GetChecksum(oDocumentInfo.FullPath)
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
_Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user