MCPcopy
hub / github.com/filebrowser/filebrowser / WithFormat

Function WithFormat

img/service.go:129–133  ·  view source on GitHub ↗
(format Format)

Source from the content-addressed store, hash-verified

127type Option func(*resizeConfig)
128
129func WithFormat(format Format) Option {
130 return func(config *resizeConfig) {
131 config.format = format
132 }
133}
134
135func WithMode(mode ResizeMode) Option {
136 return func(config *resizeConfig) {

Callers 2

createPreviewFunction · 0.92
TestService_ResizeFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestService_ResizeFunction · 0.68