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

Method GetFiles

entity/dag/operation.go:80–80  ·  view source on GitHub ↗

GetFiles return the files needed by this operation This implies that the Operation maintain and store internally the references to those files. This is how this information is read later, when loading from storage. For example, an operation that has a text value referencing some files would maintain

()

Source from the content-addressed store, hash-verified

78 // For example, an operation that has a text value referencing some files would maintain a mapping (text ref -->
79 // hash).
80 GetFiles() []repository.Hash
81}
82
83// OperationDoesntChangeSnapshot is an interface signaling that the Operation implementing it doesn't change the

Callers 3

TestOperationPackFilesFunction · 0.65
makeExtraTreeMethod · 0.65
ValidateMethod · 0.65

Implementers 4

CreateOperationentities/bug/op_create.go
EditCommentOperationentities/bug/op_edit_comment.go
AddCommentOperationentities/bug/op_add_comment.go
op1entity/dag/common_test.go

Calls

no outgoing calls

Tested by 1

TestOperationPackFilesFunction · 0.52