MCPcopy Index your code
hub / github.com/git-bug/git-bug / NewSetSignatureRequired

Function NewSetSignatureRequired

entity/dag/example_test.go:81–86  ·  view source on GitHub ↗
(author identity.Interface, value bool)

Source from the content-addressed store, hash-verified

79}
80
81func NewSetSignatureRequired(author identity.Interface, value bool) *SetSignatureRequired {
82 return &SetSignatureRequired{
83 OpBase: dag.NewOpBase(SetSignatureRequiredOp, author, time.Now().Unix()),
84 Value: value,
85 }
86}
87
88func (ssr *SetSignatureRequired) Id() entity.Id {
89 // the Id of the operation is the hash of the serialized data.

Callers 1

Example_entityFunction · 0.85

Calls 1

NewOpBaseFunction · 0.92

Tested by

no test coverage detected