MCPcopy
hub / github.com/mindoc-org/mindoc / Size

Interface Size

controllers/DocumentController.go:425–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423 defer file.Close()
424
425 type Size interface {
426 Size() int64
427 }
428
429 if conf.GetUploadFileSize() > 0 && moreFile.Size > conf.GetUploadFileSize() {
430 c.JsonResult(6009, i18n.Tr(c.Lang, "message.upload_file_size_limit"))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected