Files
pages-server/server/gitea/cache.go
2022-08-12 06:40:12 +02:00

13 lines
177 B
Go

package gitea
type FileResponse struct {
Exists bool
ETag []byte
MimeType string
Body []byte
}
func (f FileResponse) IsEmpty() bool {
return len(f.Body) != 0
}