@@ -64,18 +64,20 @@ NS_ASSUME_NONNULL_BEGIN
6464
6565// / Apply stashed changes.
6666// /
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.
7071// /
7172// / Returns YES if the requested stash was successfully applied, NO otherwise.
7273- (BOOL )applyStashAtIndex : (NSUInteger )index flags : (GTRepositoryStashApplyFlag)flags error : (NSError **)error progressBlock : (nullable void (^)(GTRepositoryStashApplyProgress progress, BOOL *stop))progressBlock;
7374
7475// / Pop stashed changes.
7576// /
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.
7981// /
8082// / Returns YES if the requested stash was successfully applied, NO otherwise.
8183- (BOOL )popStashAtIndex : (NSUInteger )index flags : (GTRepositoryStashApplyFlag)flags error : (NSError **)error progressBlock : (nullable void (^)(GTRepositoryStashApplyProgress progress, BOOL *stop))progressBlock;
0 commit comments