Skip to content

Commit b136a08

Browse files
committed
Comment exported consts
1 parent 6932f06 commit b136a08

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Diff for: internal/reposync/repo_handler.go

+10-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,17 @@ import (
1515
type CloneProtocol string
1616

1717
const (
18+
// SystemProtocol indicates whether to use the Git protocol configured in the GitHub CLI,
19+
// e.g., via the 'gh config set git_protocol' configuration command
1820
SystemProtocol CloneProtocol = "system"
19-
SSHProtocol CloneProtocol = "ssh"
20-
HTTPSProtocol CloneProtocol = "https"
21+
22+
// SSHProtocol forces this extension to clone repositories via SSH.
23+
// As such, the Git remote will look like: [email protected]:org/repo.git
24+
SSHProtocol CloneProtocol = "ssh"
25+
26+
// HTTPSProtocol forces this extension to clone repositories via HTTPS.
27+
// As such, the Git remote will look like: https://github.com/org/repo.git
28+
HTTPSProtocol CloneProtocol = "https"
2129
)
2230

2331
// HandleRepository determines whether a directory with the repository name does exist.

0 commit comments

Comments
 (0)