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

Method SetStoragePolicyFiles

ent/file_create.go:141–144  ·  view source on GitHub ↗

SetStoragePolicyFiles sets the "storage_policy_files" field.

(i int)

Source from the content-addressed store, hash-verified

139
140// SetStoragePolicyFiles sets the "storage_policy_files" field.
141func (fc *FileCreate) SetStoragePolicyFiles(i int) *FileCreate {
142 fc.mutation.SetStoragePolicyFiles(i)
143 return fc
144}
145
146// SetNillableStoragePolicyFiles sets the "storage_policy_files" field if the given value is not nil.
147func (fc *FileCreate) SetNillableStoragePolicyFiles(i *int) *FileCreate {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected