mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
13 lines
323 B
Go
13 lines
323 B
Go
package objecttree
|
|
|
|
type DescriptionParser interface {
|
|
ParseChange(ch *Change, isRoot bool) ([]string, error)
|
|
}
|
|
|
|
var NoOpDescriptionParser = noopDescriptionParser{}
|
|
|
|
type noopDescriptionParser struct{}
|
|
|
|
func (n noopDescriptionParser) ParseChange(ch *Change, isRoot bool) ([]string, error) {
|
|
return []string{"DOC"}, nil
|
|
}
|