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

Method SetStoragePolicyEntities

ent/entity_create.go:105–108  ·  view source on GitHub ↗

SetStoragePolicyEntities sets the "storage_policy_entities" field.

(i int)

Source from the content-addressed store, hash-verified

103
104// SetStoragePolicyEntities sets the "storage_policy_entities" field.
105func (ec *EntityCreate) SetStoragePolicyEntities(i int) *EntityCreate {
106 ec.mutation.SetStoragePolicyEntities(i)
107 return ec
108}
109
110// SetCreatedBy sets the "created_by" field.
111func (ec *EntityCreate) SetCreatedBy(i int) *EntityCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected