Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/perkeep/perkeep
/ imageContentTypeOfFormat
Function
imageContentTypeOfFormat
pkg/server/image.go:430–435 ·
view source on GitHub ↗
(format string)
Source
from the content-addressed store, hash-verified
428
}
429
430
func
imageContentTypeOfFormat(format string) string {
431
if
format ==
"jpeg"
{
432
return
"image/jpeg"
433
}
434
return
"image/png"
435
}
Callers
1
ServeHTTP
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected