import Foundation /// Navigation destinations for the repo stack. Values, so navigation is /// testable and deep-linkable later. nonisolated enum RepoRoute: Hashable { case repo(String) case tree(repo: String, directory: String, ref: String?) case file(repo: String, path: String, ref: String?) case log(repo: String, ref: String?, path: String?) case settings(repo: String) case grep(repo: String) case blame(repo: String, path: String, ref: String?) case refs(repo: String) case milestones(repo: String) case wiki(repo: String) case wikiPage(repo: String, page: String) case commit(repo: String, sha: String) case profile(String) case account case addAccount }