diff options
| author | Harsh Shandilya <me@msfjarvis.dev> | 2021-01-01 23:03:13 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-01 23:03:13 +0530 |
| commit | fa2279791fb8639cd0931aa93572ef0d1d14becb (patch) | |
| tree | 16537760fb1e13b620bcb5148e550e2bf3459014 /app/src/main/java/dev/msfjarvis/aps/util/git/GitResult.kt | |
| parent | 360f96306b60ddab48208005911cb272959f5392 (diff) | |
| download | HardenedPass-fa2279791fb8639cd0931aa93572ef0d1d14becb.tar.gz HardenedPass-fa2279791fb8639cd0931aa93572ef0d1d14becb.zip | |
Revert "Refactor GitCommandExecutor (#1255)" (#1267)
This breaks propagation of errors to the UI layer
This reverts commit c34d08b094e80e2fd683e988f5e7ac98ad254e81.
Diffstat (limited to 'app/src/main/java/dev/msfjarvis/aps/util/git/GitResult.kt')
| -rw-r--r-- | app/src/main/java/dev/msfjarvis/aps/util/git/GitResult.kt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app/src/main/java/dev/msfjarvis/aps/util/git/GitResult.kt b/app/src/main/java/dev/msfjarvis/aps/util/git/GitResult.kt deleted file mode 100644 index cd1faa45..00000000 --- a/app/src/main/java/dev/msfjarvis/aps/util/git/GitResult.kt +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only - */ - -package dev.msfjarvis.aps.util.git - -/** - * Result of a Git operation executed by [GitCommandExecutor] - */ -sealed class GitResult { - - /** - * All good! - */ - object OK : GitResult() - - /** - * Push operation succeeded and HEAD is already in sync with remote. - */ - object AlreadyUpToDate : GitResult() -} |
