MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / GetType

Method GetType

pkg/remote/connparse/connparse.go:36–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func (c *Connection) GetType() string {
37 lastInd := strings.LastIndex(c.Scheme, ":")
38 if lastInd == -1 {
39 return c.Scheme
40 }
41 return c.Scheme[lastInd+1:]
42}
43
44func (c *Connection) GetPathWithHost() string {
45 if c.Host == "" {

Callers 3

TestParseURI_BasicS3Function · 0.80

Calls

no outgoing calls

Tested by 3

TestParseURI_BasicS3Function · 0.64