MCPcopy Create free account
hub / github.com/TruthHun/BookStack / Update

Method Update

models/attachment.go:51–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 return err
50}
51func (m *Attachment) Update() error {
52 o := orm.NewOrm()
53 _, err := o.Update(m)
54 return err
55}
56
57func (m *Attachment) Delete() (err error) {
58 o := orm.NewOrm()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected