Change method name from exists to repositoryExisted

This commit is contained in:
Bob Sun 2017-03-02 17:26:46 +08:00
parent bdc2cfaaa8
commit 83fcfc8bb2
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 2 additions and 2 deletions

View file

@ -180,7 +180,7 @@ class PasswordStore {
return pgp.getKeysOf(.secret)[0]
}
func exists() -> Bool {
func repositoryExisted() -> Bool {
let fm = FileManager()
return fm.fileExists(atPath: Globals.repositoryPath)
}