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

Method SetProps

ent/file_create.go:135–138  ·  view source on GitHub ↗

SetProps sets the "props" field.

(tp *types.FileProps)

Source from the content-addressed store, hash-verified

133
134// SetProps sets the "props" field.
135func (fc *FileCreate) SetProps(tp *types.FileProps) *FileCreate {
136 fc.mutation.SetProps(tp)
137 return fc
138}
139
140// SetStoragePolicyFiles sets the "storage_policy_files" field.
141func (fc *FileCreate) SetStoragePolicyFiles(i int) *FileCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected