MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / GetNodeById

Method GetNodeById

inventory/node.go:19–19  ·  view source on GitHub ↗

GetNodeById returns the node by id.

(ctx context.Context, id int)

Source from the content-addressed store, hash-verified

17 ListNodes(ctx context.Context, args *ListNodeParameters) (*ListNodeResult, error)
18 // GetNodeById returns the node by id.
19 GetNodeById(ctx context.Context, id int) (*ent.Node, error)
20 // GetNodeByIds returns the nodes by ids.
21 GetNodeByIds(ctx context.Context, ids []int) ([]*ent.Node, error)
22 // Upsert upserts a node.

Callers 3

GetMethod · 0.65
DeleteMethod · 0.65
GetMethod · 0.65

Implementers 1

nodeClientinventory/node.go

Calls

no outgoing calls

Tested by

no test coverage detected