Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/filebrowser/filebrowser
/ FormatFromExtension
Method
FormatFromExtension
http/preview.go:27–27 ·
view source on GitHub ↗
(ext string)
Source
from the content-addressed store, hash-verified
25
26
type
ImgService
interface
{
27
FormatFromExtension(ext string) (img.Format, error)
28
Resize(ctx context.Context, in io.Reader, width, height int, out io.Writer, options ...img.Option) error
29
}
30
Callers
3
TestService_FormatFromExtension
Function · 0.65
FormatFromExtension
Method · 0.65
handleImagePreview
Function · 0.65
Implementers
1
Service
img/service.go
Calls
no outgoing calls
Tested by
1
TestService_FormatFromExtension
Function · 0.52