Repo
public class Repo
Repo is a class that wraps a golang repo object
Should not be used on its own
-
Class constructor using url passed as parameter as repo path
Throws
RepoError: If the opening of the repo failedDeclaration
Swift
public init(_ url: URL) throwsParameters
urlThe path of the repo
-
Returns True if the repo is initialized
Throws
RepoError: If the checking failedDeclaration
Swift
public static func isInitialized(_ url: URL) -> BoolParameters
urlThe path of the repo
Return Value
True, if the repo is initialized
View on GitHub
Repo Class Reference