any-sync/acltree/docstate.go
2022-07-08 10:19:43 +02:00

10 lines
228 B
Go

package acltree
type DocumentState interface {
ApplyChange(change []byte, id string) (DocumentState, error)
}
type InitialStateProvider interface {
ProvideFromInitialChange(change []byte, id string) (DocumentState, error)
}