From f1c595545685258840b961bfe6acecd2da56ed87 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Mon, 28 Sep 2020 17:38:49 +0800 Subject: add a unit test for loading old database --- python/filemetadata.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python') diff --git a/python/filemetadata.py b/python/filemetadata.py index bfcfff90..e8c72775 100644 --- a/python/filemetadata.py +++ b/python/filemetadata.py @@ -263,6 +263,10 @@ class FileMetadata(object): else: return FileMetadata._associated_data[handle.value] + @property + def snapshot_data_applied_without_error(self): + return core.BNIsSnapshotDataAppliedWithoutError(self.handle) + def close(self): """ Closes the underlying file handle. It is recommended that this is done in a -- cgit v1.3.1