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

Method SetSource

ent/entity_create.go:79–82  ·  view source on GitHub ↗

SetSource sets the "source" field.

(s string)

Source from the content-addressed store, hash-verified

77
78// SetSource sets the "source" field.
79func (ec *EntityCreate) SetSource(s string) *EntityCreate {
80 ec.mutation.SetSource(s)
81 return ec
82}
83
84// SetSize sets the "size" field.
85func (ec *EntityCreate) SetSize(i int64) *EntityCreate {

Callers

nothing calls this directly

Calls 1

SetSourceMethod · 0.65

Tested by

no test coverage detected