Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hwholiday/learning_tools
/ CheckIsImage
Function
CheckIsImage
minio/minio_thumbnail/thumbnail.go:100–108 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
98
}
99
100
func
CheckIsImage(s string) bool {
101
s = strings.ToUpper(s)
102
for
_, v :=
range
checkImage {
103
if
v == s {
104
return
true
105
}
106
}
107
return
false
108
}
Callers
1
GetFileAndThumbnail
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected