We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1267136 commit 6ca9766Copy full SHA for 6ca9766
1 file changed
cli/connhelper/ssh/ssh.go
@@ -7,7 +7,9 @@ import (
7
"github.com/pkg/errors"
8
)
9
10
-// ParseURL parses URL
+// ParseURL creates a [Spec] from the given ssh URL. It returns an error if
11
+// the URL is using the wrong scheme, contains fragments, query-parameters,
12
+// or contains a password.
13
func ParseURL(daemonURL string) (*Spec, error) {
14
u, err := url.Parse(daemonURL)
15
if err != nil {
0 commit comments