Refactor git repository model (#674)

- Create a new model class for operations of Git repository.
- Refactor everything related with git.
- Add unit tests for git functions.
This commit is contained in:
Mingshen Sun 2025-02-02 22:18:16 -08:00 committed by GitHub
parent 5a1458e196
commit a69c4d16b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 421 additions and 181 deletions

View file

@ -16,6 +16,7 @@ public enum AppError: Error, Equatable {
case readingFile(fileName: String)
case passwordDuplicated
case gitReset
case gitCommit
case gitCreateSignature
case gitPushNotSuccessful
case pgpPublicKeyNotFound(keyID: String)