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

Method DeleteByString

xmlparser/attributes.go:96–98  ·  view source on GitHub ↗

DeleteByString is like Delete but accepts a string name.

(name string)

Source from the content-addressed store, hash-verified

94
95// DeleteByString is like Delete but accepts a string name.
96func (a *Attributes) DeleteByString(name string) {
97 a.Delete(Name(name))
98}
99
100// Has returns true if the attribute with the given name exists.
101func (a *Attributes) Has(name Name) bool {

Callers

nothing calls this directly

Calls 2

DeleteMethod · 0.95
NameTypeAlias · 0.85

Tested by

no test coverage detected