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

Method GetByString

xmlparser/attributes.go:49–51  ·  view source on GitHub ↗

GetByString is like Get but accepts a string name.

(name string)

Source from the content-addressed store, hash-verified

47
48// GetByString is like Get but accepts a string name.
49func (a *Attributes) GetByString(name string) (string, bool) {
50 return a.Get(Name(name))
51}
52
53// Set sets the value of the attribute with the given name.
54// If the attribute does not exist, it is created.

Callers

nothing calls this directly

Calls 2

GetMethod · 0.95
NameTypeAlias · 0.85

Tested by

no test coverage detected