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

Method AddFileIDs

ent/storagepolicy_create.go:232–235  ·  view source on GitHub ↗

AddFileIDs adds the "files" edge to the File entity by IDs.

(ids ...int)

Source from the content-addressed store, hash-verified

230
231// AddFileIDs adds the "files" edge to the File entity by IDs.
232func (spc *StoragePolicyCreate) AddFileIDs(ids ...int) *StoragePolicyCreate {
233 spc.mutation.AddFileIDs(ids...)
234 return spc
235}
236
237// AddFiles adds the "files" edges to the File entity.
238func (spc *StoragePolicyCreate) AddFiles(f ...*File) *StoragePolicyCreate {

Callers 1

AddFilesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected