MCPcopy Create free account
hub / github.com/git-bug/git-bug / newOp1

Function newOp1

entity/dag/common_test.go:33–35  ·  view source on GitHub ↗
(author identity.Interface, field1 string, files ...repository.Hash)

Source from the content-addressed store, hash-verified

31}
32
33func newOp1(author identity.Interface, field1 string, files ...repository.Hash) *op1 {
34 return &op1{OpBase: NewOpBase(Op1, author, 0), Field1: field1, Files: files}
35}
36
37func (op *op1) Id() entity.Id {
38 return IdOperation(op, &op.OpBase)

Callers 10

TestOperationPackFilesFunction · 0.85
TestWriteReadFunction · 0.85
TestEntityPushPullFunction · 0.85
TestListLocalIdsFunction · 0.85
TestMergeFunction · 0.85
TestRemoveFunction · 0.85
TestRemoveAllFunction · 0.85

Calls 1

NewOpBaseFunction · 0.85

Tested by

no test coverage detected