MCPcopy Index your code
hub / github.com/mislav/hub / Encode

Method Encode

github/config_encoder.go:17–20  ·  view source on GitHub ↗
(w io.Writer, c *Config)

Source from the content-addressed store, hash-verified

15}
16
17func (t *tomlConfigEncoder) Encode(w io.Writer, c *Config) error {
18 enc := toml.NewEncoder(w)
19 return enc.Encode(c)
20}
21
22type yamlConfigEncoder struct {
23}

Callers

nothing calls this directly

Calls 1

EncodeMethod · 0.65

Tested by

no test coverage detected