MCPcopy
hub / github.com/go-task/task / WithInsecure

Function WithInsecure

taskfile/reader.go:89–91  ·  view source on GitHub ↗

WithInsecure allows the [Reader] to make insecure connections when reading remote taskfiles. By default, insecure connections are rejected.

(insecure bool)

Source from the content-addressed store, hash-verified

87// WithInsecure allows the [Reader] to make insecure connections when reading
88// remote taskfiles. By default, insecure connections are rejected.
89func WithInsecure(insecure bool) ReaderOption {
90 return &insecureOption{insecure: insecure}
91}
92
93type insecureOption struct {
94 insecure bool

Callers 1

readTaskfileMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…