MCPcopy Index your code
hub / github.com/TruthHun/BookStack / NewAttachment

Function NewAttachment

models/attachment.go:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func NewAttachment() *Attachment {
43 return &Attachment{}
44}
45
46func (m *Attachment) Insert() error {
47 o := orm.NewOrm()

Callers 8

ReadMethod · 0.92
UploadMethod · 0.92
DownloadAttachmentMethod · 0.92
RemoveAttachmentMethod · 0.92
ContentMethod · 0.92
AttachListMethod · 0.92
AttachDeleteMethod · 0.92
FindMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected