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

Function vipsError

vips/vips.go:907–917  ·  view source on GitHub ↗
(fn string, msg string, args ...any)

Source from the content-addressed store, hash-verified

905}
906
907func vipsError(fn string, msg string, args ...any) {
908 fnStr := C.CString(fn)
909 defer C.free(unsafe.Pointer(fnStr))
910
911 msg = fmt.Sprintf(msg, args...)
912
913 msgStr := C.CString(msg)
914 defer C.free(unsafe.Pointer(msgStr))
915
916 C.vips_error_go(fnStr, msgStr)
917}

Callers 2

imgproxyReaderSeekFunction · 0.85
imgproxyReaderReadFunction · 0.85

Calls 1

freeMethod · 0.80

Tested by

no test coverage detected