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

Method QueryStoragePolicy

ent/node.go:188–190  ·  view source on GitHub ↗

QueryStoragePolicy queries the "storage_policy" edge of the Node entity.

()

Source from the content-addressed store, hash-verified

186
187// QueryStoragePolicy queries the "storage_policy" edge of the Node entity.
188func (n *Node) QueryStoragePolicy() *StoragePolicyQuery {
189 return NewNodeClient(n.config).QueryStoragePolicy(n)
190}
191
192// Update returns a builder for updating this Node.
193// Note that you need to call Node.Unwrap() before calling this method if this Node

Callers

nothing calls this directly

Calls 1

NewNodeClientFunction · 0.70

Tested by

no test coverage detected