summaryrefslogtreecommitdiff
path: root/python/filemetadata.py
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2020-09-28 17:38:49 +0800
committerXusheng <xusheng@vector35.com>2020-11-16 10:15:09 +0800
commitf1c595545685258840b961bfe6acecd2da56ed87 (patch)
treeee7d7df7298452b9413fd8d142cdcb078c49c0a7 /python/filemetadata.py
parentcb2b7ad0f73751277d88a28e93c1ec99531836b2 (diff)
add a unit test for loading old database
Diffstat (limited to 'python/filemetadata.py')
-rw-r--r--python/filemetadata.py4
1 files changed, 4 insertions, 0 deletions
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