MCPcopy Create free account
hub / github.com/brimdata/super / IsRemote

Function IsRemote

db/api/api.go:57–59  ·  view source on GitHub ↗
(u string)

Source from the content-addressed store, hash-verified

55}
56
57func IsRemote(u string) bool {
58 return strings.HasPrefix(u, "http://") || strings.HasPrefix(u, "https://")
59}
60
61func LookupPoolByName(ctx context.Context, api Interface, name string) (*pools.Config, error) {
62 b := newBuffer(pools.Config{})

Callers 5

ConnectionMethod · 0.92
OpenMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92
ConnectFunction · 0.85

Calls 1

HasPrefixMethod · 0.80

Tested by

no test coverage detected