MCPcopy Create free account
hub / github.com/CyCoreSystems/ari / Update

Method Update

mailbox.go:63–65  ·  view source on GitHub ↗

Update updates the state of the mailbox, or creates if does not exist

(oldMessages int, newMessages int)

Source from the content-addressed store, hash-verified

61
62// Update updates the state of the mailbox, or creates if does not exist
63func (mh *MailboxHandle) Update(oldMessages int, newMessages int) error {
64 return mh.m.Update(mh.key, oldMessages, newMessages)
65}
66
67// Delete deletes the mailbox
68func (mh *MailboxHandle) Delete() error {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected