MCPcopy Index your code
hub / github.com/apache/answer / GetMaxImageMegapixel

Method GetMaxImageMegapixel

internal/schema/siteinfo_schema.go:148–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146}
147
148func (s *SiteAdvancedResp) GetMaxImageMegapixel() int {
149 if s.MaxImageMegapixel <= 0 {
150 return constant.DefaultMaxImageMegapixel
151 }
152 return s.MaxImageMegapixel * 1000 * 1000
153}
154
155// SiteWriteTag site write response tag
156type SiteWriteTag struct {

Callers 1

uploadImageFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected