Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
42
func
NewAttachment() *Attachment {
43
return
&Attachment{}
44
}
45
46
func
(m *Attachment) Insert() error {
47
o := orm.NewOrm()
Callers
8
Read
Method · 0.92
Upload
Method · 0.92
DownloadAttachment
Method · 0.92
RemoveAttachment
Method · 0.92
Content
Method · 0.92
AttachList
Method · 0.92
AttachDelete
Method · 0.92
Find
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected