mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
internal/ops: remove Data, Version, Refs methods from Ops
They're only used internally. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -141,18 +141,6 @@ func (o *Ops) Reset() {
|
||||
o.version++
|
||||
}
|
||||
|
||||
func (o *Ops) Data() []byte {
|
||||
return o.data
|
||||
}
|
||||
|
||||
func (o *Ops) Refs() []interface{} {
|
||||
return o.refs
|
||||
}
|
||||
|
||||
func (o *Ops) Version() int {
|
||||
return o.version
|
||||
}
|
||||
|
||||
func (o *Ops) Write(n int) []byte {
|
||||
o.data = append(o.data, make([]byte, n)...)
|
||||
return o.data[len(o.data)-n:]
|
||||
|
||||
Reference in New Issue
Block a user