Skip to content
Snippets Groups Projects

Update Bindings

Merged Dariusz Rybicki requested to merge feature/update-bindings into development
4 files
+ 44
38
Compare changes
  • Side-by-side
  • Inline
Files
4
import Bindings
public struct GitVersionProvider {
public var get: () -> String
public func callAsFunction() -> String {
get()
}
}
extension GitVersionProvider {
public static let live = GitVersionProvider(get: BindingsGetGitVersion)
}
#if DEBUG
extension GitVersionProvider {
public static let failing = GitVersionProvider { fatalError("Not implemented") }
}
#endif
Loading