mirror of
https://github.com/fumiama/orbyte.git
synced 2026-06-12 06:00:32 +08:00
feat: add Ignore to Item
This commit is contained in:
@@ -11,6 +11,7 @@ const (
|
||||
statusisbuffered = 1 << iota
|
||||
statusdestroyed
|
||||
statusinsyncop
|
||||
statushasignored
|
||||
)
|
||||
|
||||
type status uintptr
|
||||
@@ -96,3 +97,11 @@ func (c *status) setdestroyed(v bool) {
|
||||
func (c *status) setinsyncop(v bool) bool {
|
||||
return c.setboolunique(v, statusinsyncop)
|
||||
}
|
||||
|
||||
func (c *status) hasignored() bool {
|
||||
return c.loadbool(statushasignored)
|
||||
}
|
||||
|
||||
func (c *status) setignored(v bool) {
|
||||
c.setbool(v, statushasignored)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user