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

Method String

testutil/options_builder.go:52–60  ·  view source on GitHub ↗

String returns the string representation of the options, joining them with '/'.

()

Source from the content-addressed store, hash-verified

50
51// String returns the string representation of the options, joining them with '/'.
52func (o OptionsBuilder) String() string {
53 formatted := make([]string, 0, len(o))
54
55 for k, v := range o {
56 formatted = append(formatted, fmt.Sprintf("%s:%s", k, v.String()))
57 }
58
59 return strings.Join(formatted, "/")
60}

Callers 9

URLOptionsMethod · 0.95
URLOptionsMethod · 0.95
URLOptionsMethod · 0.95
URLOptionsMethod · 0.95
URLOptionsMethod · 0.95
URLOptionsMethod · 0.95
URLOptionsMethod · 0.95
URLOptionsMethod · 0.95
URLOptionsMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by 9

URLOptionsMethod · 0.76
URLOptionsMethod · 0.76
URLOptionsMethod · 0.76
URLOptionsMethod · 0.76
URLOptionsMethod · 0.76
URLOptionsMethod · 0.76
URLOptionsMethod · 0.76
URLOptionsMethod · 0.76
URLOptionsMethod · 0.76