From 9d9023a3bd97acc9e5ec26b186750a015002b682 Mon Sep 17 00:00:00 2001 From: Matt Diephouse Date: Mon, 12 Jan 2015 00:42:20 -0800 Subject: [PATCH] Stub some methods --- SwiftGit2/Repository.swift | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/SwiftGit2/Repository.swift b/SwiftGit2/Repository.swift index 4c73db2..683db43 100644 --- a/SwiftGit2/Repository.swift +++ b/SwiftGit2/Repository.swift @@ -221,4 +221,34 @@ final public class Repository { pointer.dealloc(1) return success(value) } + + // MARK: - Reference Lookups + + public func referenceWithName(name: String) -> Result { + return failure() + } + + public func allBranches() -> Result<[Branch]> { + return failure() + } + + public func localBranches() -> Result<[Branch]> { + return failure() + } + + public func remoteBranches() -> Result<[Branch]> { + return failure() + } + + public func branchWithName(name: String) -> Result { + return failure() + } + + public func allTags() -> Result<[TagReference]> { + return failure() + } + + public func tagWithName(name: String) -> Result { + return failure() + } }