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

Method Id

entity/dag/entity.go:361–364  ·  view source on GitHub ↗

Id return the Entity identifier

()

Source from the content-addressed store, hash-verified

359
360// Id return the Entity identifier
361func (e *Entity) Id() entity.Id {
362 // id is the id of the first operation
363 return e.FirstOp().Id()
364}
365
366// Validate check if the Entity data is valid
367func (e *Entity) Validate() error {

Callers 1

CommitMethod · 0.95

Calls 2

FirstOpMethod · 0.95
IdMethod · 0.65

Tested by

no test coverage detected