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

Method SetValue

ent/metadata_create.go:75–78  ·  view source on GitHub ↗

SetValue sets the "value" field.

(s string)

Source from the content-addressed store, hash-verified

73
74// SetValue sets the "value" field.
75func (mc *MetadataCreate) SetValue(s string) *MetadataCreate {
76 mc.mutation.SetValue(s)
77 return mc
78}
79
80// SetFileID sets the "file_id" field.
81func (mc *MetadataCreate) SetFileID(i int) *MetadataCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected