Skip to content

Commit baa079f

Browse files
committed
Added documentation to submit functions in push and pull views
1 parent 0342daf commit baa079f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CodeEdit/Features/SourceControl/Views/SourceControlPullView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ struct SourceControlPullView: View {
6666
.frame(minWidth: 500)
6767
}
6868

69+
/// Pulls changes from the specified remote and branch. If local changes exist, prompts user to stash them first
6970
func submit() {
7071
Task {
7172
do {

CodeEdit/Features/SourceControl/Views/SourceControlPushView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ struct SourceControlPushView: View {
6767
.frame(minWidth: 500)
6868
}
6969

70+
/// Pushes commited changes to specified remote and branch
7071
func submit() {
7172
Task {
7273
do {

0 commit comments

Comments
 (0)