MCPcopy
hub / github.com/cloudreve/cloudreve / SetStoragePolicyFiles

Method SetStoragePolicyFiles

ent/mutation.go:3576–3578  ·  view source on GitHub ↗

SetStoragePolicyFiles sets the "storage_policy_files" field.

(i int)

Source from the content-addressed store, hash-verified

3574
3575// SetStoragePolicyFiles sets the "storage_policy_files" field.
3576func (m *FileMutation) SetStoragePolicyFiles(i int) {
3577 m.storage_policies = &i
3578}
3579
3580// StoragePolicyFiles returns the value of the "storage_policy_files" field in the mutation.
3581func (m *FileMutation) StoragePolicyFiles() (r int, exists bool) {

Callers 2

SetFieldMethod · 0.95
CopyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected