MCPcopy Index your code
hub / github.com/kopia/kopia / BoolElement

Method BoolElement

internal/contentlog/contentlog_json_writer.go:182–185  ·  view source on GitHub ↗

BoolElement writes a boolean element.

(value bool)

Source from the content-addressed store, hash-verified

180
181// BoolElement writes a boolean element.
182func (jw *JSONWriter) BoolElement(value bool) {
183 jw.beforeElement()
184 jw.boolValue(value)
185}
186
187func (jw *JSONWriter) boolValue(value bool) {
188 if value {

Callers 1

TestEntryWriter_AllTypesFunction · 0.95

Calls 2

beforeElementMethod · 0.95
boolValueMethod · 0.95

Tested by 1

TestEntryWriter_AllTypesFunction · 0.76