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

Function buildPath

testutil/equal_but_not_same.go:91–96  ·  view source on GitHub ↗

buildPath builds a field path for error messages

(basePath, separator, element, suffix string)

Source from the content-addressed store, hash-verified

89
90// buildPath builds a field path for error messages
91func buildPath(basePath, separator, element, suffix string) string {
92 if basePath == "" {
93 return element + suffix
94 }
95 return basePath + separator + element + suffix
96}
97
98// anyToString converts an any to a string for path building
99func anyToString(v any) string {

Callers 1

deepEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected