MCPcopy
hub / github.com/nirui/sshwifty / hasCompressed

Method hasCompressed

application/controller/static.go:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (s staticData) hasCompressed() bool {
38 return len(s.compressd) > 0
39}
40
41func staticFileExt(fileName string) string {
42 extIdx := strings.LastIndex(fileName, ".")

Callers 2

serveStaticPageFunction · 0.80
serveStaticDataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected