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 /filemetadata.cpp | |
| parent | cb2b7ad0f73751277d88a28e93c1ec99531836b2 (diff) | |
add a unit test for loading old database
Diffstat (limited to 'filemetadata.cpp')
| -rw-r--r-- | filemetadata.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/filemetadata.cpp b/filemetadata.cpp index 3af4cf6e..9559b041 100644 --- a/filemetadata.cpp +++ b/filemetadata.cpp @@ -363,6 +363,12 @@ std::vector<std::string> FileMetadata::GetExistingViews() const return result; } +bool FileMetadata::IsSnapshotDataAppliedWithoutError() const +{ + return BNIsSnapshotDataAppliedWithoutError(m_object); +} + + SaveSettings::SaveSettings() { m_object = BNCreateSaveSettings(); |
