diff options
| author | Xusheng <xusheng@vector35.com> | 2020-09-28 17:38:49 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2020-11-16 10:15:09 +0800 |
| commit | f1c595545685258840b961bfe6acecd2da56ed87 (patch) | |
| tree | ee7d7df7298452b9413fd8d142cdcb078c49c0a7 /python | |
| parent | cb2b7ad0f73751277d88a28e93c1ec99531836b2 (diff) | |
add a unit test for loading old database
Diffstat (limited to 'python')
| -rw-r--r-- | python/filemetadata.py | 4 |
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 |
