@@ -64,18 +64,20 @@ NS_ASSUME_NONNULL_BEGIN
64
64
65
65
// / Apply stashed changes.
66
66
// /
67
- // / index - The index of the stash to apply. 0 is the latest one.
68
- // / flags - The flags to use when applying the stash.
69
- // / error - If not NULL, set to any error that occurred.
67
+ // / index - The index of the stash to apply. 0 is the latest one.
68
+ // / flags - The flags to use when applying the stash.
69
+ // / error - If not NULL, set to any error that occurred.
70
+ // / progressBlock - A block that will be executed on each step of the stash application.
70
71
// /
71
72
// / Returns YES if the requested stash was successfully applied, NO otherwise.
72
73
- (BOOL )applyStashAtIndex : (NSUInteger )index flags : (GTRepositoryStashApplyFlag)flags error : (NSError **)error progressBlock : (nullable void (^)(GTRepositoryStashApplyProgress progress, BOOL *stop))progressBlock;
73
74
74
75
// / Pop stashed changes.
75
76
// /
76
- // / index - The index of the stash to apply. 0 is the most recent stash.
77
- // / flags - The flags to use when applying the stash.
78
- // / error - If not NULL, set to any error that occurred.
77
+ // / index - The index of the stash to apply. 0 is the most recent stash.
78
+ // / flags - The flags to use when applying the stash.
79
+ // / error - If not NULL, set to any error that occurred.
80
+ // / progressBlock - A block that will be executed on each step of the stash application.
79
81
// /
80
82
// / Returns YES if the requested stash was successfully applied, NO otherwise.
81
83
- (BOOL )popStashAtIndex : (NSUInteger )index flags : (GTRepositoryStashApplyFlag)flags error : (NSError **)error progressBlock : (nullable void (^)(GTRepositoryStashApplyProgress progress, BOOL *stop))progressBlock;
0 commit comments