Searched refs:MergeResult (Results 1 – 2 of 2) sorted by relevance
920 auto SnapshotManager::CheckMergeState(const std::function<bool()>& before_cancel) -> MergeResult { in CheckMergeState()923 return MergeResult(UpdateState::MergeFailed, MergeFailureCode::AcquireLock); in CheckMergeState()942 -> MergeResult { in CheckMergeState()949 return MergeResult(update_status.state()); in CheckMergeState()964 return MergeResult(UpdateState::Cancelled); in CheckMergeState()966 return MergeResult(update_status.state()); in CheckMergeState()969 return MergeResult(update_status.state()); in CheckMergeState()974 return MergeResult(UpdateState::MergeFailed, MergeFailureCode::ListSnapshots); in CheckMergeState()1029 return MergeResult(UpdateState::Merging); in CheckMergeState()1034 return MergeResult(UpdateState::MergeFailed, failure_code); in CheckMergeState()[all …]
593 struct MergeResult { struct594 explicit MergeResult(UpdateState state,606 MergeResult CheckMergeState(const std::function<bool()>& before_cancel); argument607 MergeResult CheckMergeState(LockedFile* lock, const std::function<bool()>& before_cancel);608 MergeResult CheckTargetMergeState(LockedFile* lock, const std::string& name,