MCPcopy
hub / github.com/lxn/walk / SaveState

Method SaveState

checkbox.go:111–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109}
110
111func (cb *CheckBox) SaveState() error {
112 return cb.WriteState(strconv.Itoa(int(cb.CheckState())))
113}
114
115func (cb *CheckBox) RestoreState() error {
116 s, err := cb.ReadState()

Callers

nothing calls this directly

Calls 2

CheckStateMethod · 0.95
WriteStateMethod · 0.80

Tested by

no test coverage detected