File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,12 @@ public protocol RepositoryProvider {
99
99
func openCheckout( at path: AbsolutePath ) throws -> WorkingCheckout
100
100
}
101
101
102
+ extension RepositoryProvider {
103
+ public func checkoutExists( at path: AbsolutePath ) throws -> Bool {
104
+ fatalError ( " Unimplemented " )
105
+ }
106
+ }
107
+
102
108
/// Abstract repository operations.
103
109
///
104
110
/// This interface provides access to an abstracted representation of a
@@ -201,6 +207,12 @@ public protocol WorkingCheckout {
201
207
func areIgnored( _ paths: [ AbsolutePath ] ) throws -> [ Bool ]
202
208
}
203
209
210
+ extension WorkingCheckout {
211
+ public func areIgnored( _ paths: [ AbsolutePath ] ) throws -> [ Bool ] {
212
+ fatalError ( " Unimplemented " )
213
+ }
214
+ }
215
+
204
216
/// A single repository revision.
205
217
public struct Revision : Hashable {
206
218
/// A precise identifier for a single repository revision, in a repository-specified manner.
You can’t perform that action at this time.
0 commit comments