Implement Siri shortcut to sync repository per automation task

This commit is contained in:
Danny Moesch 2020-03-04 20:27:23 +01:00 committed by Mingshen Sun
parent 21b5774cc5
commit b3bde9e0e0
12 changed files with 499 additions and 4 deletions

View file

@ -124,7 +124,7 @@ public class PasswordStore {
Defaults.remove(\.gitSSHPrivateKeyArmor)
}
public func repositoryExisted() -> Bool {
public func repositoryExists() -> Bool {
let fm = FileManager()
return fm.fileExists(atPath: Globals.repositoryPath)
}