MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / ID

Method ID

app/controlplane/pkg/data/ent/mutation.go:1357–1362  ·  view source on GitHub ↗

ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.

()

Source from the content-addressed store, hash-verified

1355// ID returns the ID value in the mutation. Note that the ID is only available
1356// if it was provided to the builder or after it was returned from the database.
1357func (m *AttestationMutation) ID() (id uuid.UUID, exists bool) {
1358 if m.id == nil {
1359 return
1360 }
1361 return *m.id, true
1362}
1363
1364// IDs queries the database and returns the entity ids that match the mutation's predicate.
1365// That means, if the mutation is applied within a transaction with an isolation level such

Callers 1

IDsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected