remove the public DocumentClear variant

This commit is contained in:
Irevoire 2022-10-22 16:06:01 +02:00 committed by Clément Renault
parent c8ee453b6c
commit e2ce8f2d32
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -141,7 +141,7 @@ impl KindWithContent {
match self {
KindWithContent::DocumentAdditionOrUpdate { .. } => Kind::DocumentAdditionOrUpdate,
KindWithContent::DocumentDeletion { .. } => Kind::DocumentDeletion,
KindWithContent::DocumentClear { .. } => Kind::DocumentClear,
KindWithContent::DocumentClear { .. } => Kind::DocumentDeletion,
KindWithContent::SettingsUpdate { .. } => Kind::SettingsUpdate,
KindWithContent::IndexCreation { .. } => Kind::IndexCreation,
KindWithContent::IndexDeletion { .. } => Kind::IndexDeletion,
@ -363,7 +363,6 @@ impl FromStr for Status {
pub enum Kind {
DocumentAdditionOrUpdate,
DocumentDeletion,
DocumentClear,
SettingsUpdate,
IndexCreation,
IndexDeletion,