MCPcopy Create free account
hub / github.com/foxcpp/maddy / Commit

Method Commit

internal/storage/imapsql/delivery.go:156–160  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

154}
155
156func (d *delivery) Commit(ctx context.Context) error {
157 defer trace.StartRegion(ctx, "sql/Commit").End()
158
159 return d.d.Commit()
160}
161
162func (store *Storage) StartDelivery(ctx context.Context, msgMeta *module.MsgMetadata, mailFrom string) (module.Delivery, error) {
163 defer trace.StartRegion(ctx, "sql/StartDelivery").End()

Callers

nothing calls this directly

Calls 1

CommitMethod · 0.65

Tested by

no test coverage detected