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

Function hasOperation

vips/vips.go:139–141  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

137}
138
139func hasOperation(name string) bool {
140 return C.vips_type_find(cachedCString("VipsOperation"), cachedCString(name)) != 0
141}
142
143func SupportsLoad(it imagetype.Type) bool {
144 if sup, ok := typeSupportLoad.Load(it); ok {

Callers 2

SupportsLoadFunction · 0.85
SupportsSaveFunction · 0.85

Calls 1

cachedCStringFunction · 0.85

Tested by

no test coverage detected