MCPcopy
hub / github.com/livebud/bud / New

Function New

internal/is/is_internal.go:37–39  ·  view source on GitHub ↗
(t T)

Source from the content-addressed store, hash-verified

35}
36
37func New(t T) *I {
38 return &I{os.Stdout, !nocolor, t, t.FailNow, map[string]struct{}{}}
39}
40
41type I struct {
42 writer io.Writer

Callers 15

TestStringFunction · 0.92
TestNoProjectFunction · 0.92
TestEmptyBuildFunction · 0.92
TestPublicFunction · 0.92
TestPluginFunction · 0.92
TestGetChangeGetFunction · 0.92
TestEmbedFaviconFunction · 0.92
TestGeneratorsFunction · 0.92
TestMissingGeneratorFunction · 0.92
TestSyntaxErrorFunction · 0.92
TestUpdateGeneratorFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestStringFunction · 0.74
TestNoProjectFunction · 0.74
TestEmptyBuildFunction · 0.74
TestPublicFunction · 0.74
TestPluginFunction · 0.74
TestGetChangeGetFunction · 0.74
TestEmbedFaviconFunction · 0.74
TestGeneratorsFunction · 0.74
TestMissingGeneratorFunction · 0.74
TestSyntaxErrorFunction · 0.74
TestUpdateGeneratorFunction · 0.74