MCPcopy Index your code
hub / github.com/Masterminds/structable / Has

Method Has

example/fence.go:73–75  ·  view source on GitHub ↗

Has returns true if the record exists.

()

Source from the content-addressed store, hash-verified

71
72// Has returns true if the record exists.
73func (r *Fence) Has() (bool, error) {
74 return r.rec.Exists()
75}
76
77// Load populates the struct with data from storage.
78// It presumes that the id field is set.

Callers

nothing calls this directly

Calls 1

ExistsMethod · 0.65

Tested by

no test coverage detected