MCPcopy
hub / github.com/ory/kratos / Find

Method Find

ui/node/node.go:149–157  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

147}
148
149func (n Nodes) Find(id string) *Node {
150 for _, nn := range n {
151 if nn.ID() == id {
152 return nn
153 }
154 }
155
156 return nil
157}
158
159func (n Nodes) FindAll(id string) []Node {
160 var nodes []Node

Callers 15

TestPopulateLoginMethodFunction · 0.45
TestFormHydrationFunction · 0.45
FindCodeAddressesMethod · 0.45
loginSendCodeMethod · 0.45
handleLinkClickMethod · 0.45
TestVerifierFunction · 0.45
TestContainerFunction · 0.45

Calls 1

IDMethod · 0.65

Tested by 5

TestPopulateLoginMethodFunction · 0.36
TestFormHydrationFunction · 0.36
TestVerifierFunction · 0.36
TestContainerFunction · 0.36
TestRemoveMatchingNodesFunction · 0.36