MCPcopy Create free account
hub / github.com/brettlangdon/forge / Set

Method Set

section.go:226–228  ·  view source on GitHub ↗

Set will set a value (Primative or Section) to the provided name

(name string, value Value)

Source from the content-addressed store, hash-verified

224
225// Set will set a value (Primative or Section) to the provided name
226func (section *Section) Set(name string, value Value) {
227 section.values[name] = value
228}
229
230// SetBoolean will set the value for name as a bool
231func (section *Section) SetBoolean(name string, value bool) {

Callers 3

SetNullMethod · 0.95
SetStringMethod · 0.95
MergeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected