@@ -62,22 +62,22 @@ NS_ASSUME_NONNULL_BEGIN
62
62
// / will cause enumeration to stop after the block returns. Must not be nil.
63
63
- (void )enumerateStashesUsingBlock : (void (^)(NSUInteger index, NSString * __nullable message, GTOID * __nullable oid, BOOL *stop))block ;
64
64
65
- // / Apply stashed changes (with a default checkout strategy) .
65
+ // / Apply stashed changes.
66
66
// /
67
67
// / index - The index of the stash to apply. 0 is the latest one.
68
68
// / flags - The flags to use when applying the stash.
69
- // / options - The options to use when checking out.
69
+ // / options - The options to use when checking out (if nil, use the defaults provided by libgit2) .
70
70
// / error - If not NULL, set to any error that occurred.
71
71
// / progressBlock - A block that will be executed on each step of the stash application.
72
72
// /
73
73
// / Returns YES if the requested stash was successfully applied, NO otherwise.
74
74
- (BOOL )applyStashAtIndex : (NSUInteger )index flags : (GTRepositoryStashApplyFlag)flags checkoutOptions : (nullable GTCheckoutOptions *)options error : (NSError **)error progressBlock : (nullable void (^)(GTRepositoryStashApplyProgress progress, BOOL *stop))progressBlock;
75
75
76
- // / Pop stashed changes (with a default checkout strategy) .
76
+ // / Pop stashed changes.
77
77
// /
78
78
// / index - The index of the stash to apply. 0 is the most recent stash.
79
79
// / flags - The flags to use when applying the stash.
80
- // / options - The options to use when checking out.
80
+ // / options - The options to use when checking out (if nil, use the defaults provided by libgit2) .
81
81
// / error - If not NULL, set to any error that occurred.
82
82
// / progressBlock - A block that will be executed on each step of the stash application.
83
83
// /
0 commit comments