MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / SetByString

Method SetByString

xmlparser/attributes.go:74–76  ·  view source on GitHub ↗

SetByString is like Set but accepts a string name.

(name, value string)

Source from the content-addressed store, hash-verified

72
73// SetByString is like Set but accepts a string name.
74func (a *Attributes) SetByString(name, value string) {
75 a.Set(Name(name), value)
76}
77
78// Delete removes the attribute with the given name.
79func (a *Attributes) Delete(name Name) {

Callers

nothing calls this directly

Calls 2

SetMethod · 0.95
NameTypeAlias · 0.85

Tested by

no test coverage detected