mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
chore: cargo fmt
This commit is contained in:
parent
3878c289df
commit
d0f1054f5c
@ -107,11 +107,19 @@ pub struct Opt {
|
|||||||
pub import_snapshot: Option<PathBuf>,
|
pub import_snapshot: Option<PathBuf>,
|
||||||
|
|
||||||
/// The engine will ignore a missing snapshot and not return an error in such case.
|
/// The engine will ignore a missing snapshot and not return an error in such case.
|
||||||
#[clap(long, env = "MEILI_IGNORE_MISSING_SNAPSHOT", requires = "import-snapshot")]
|
#[clap(
|
||||||
|
long,
|
||||||
|
env = "MEILI_IGNORE_MISSING_SNAPSHOT",
|
||||||
|
requires = "import-snapshot"
|
||||||
|
)]
|
||||||
pub ignore_missing_snapshot: bool,
|
pub ignore_missing_snapshot: bool,
|
||||||
|
|
||||||
/// The engine will skip snapshot importation and not return an error in such case.
|
/// The engine will skip snapshot importation and not return an error in such case.
|
||||||
#[clap(long, env = "MEILI_IGNORE_SNAPSHOT_IF_DB_EXISTS", requires = "import-snapshot")]
|
#[clap(
|
||||||
|
long,
|
||||||
|
env = "MEILI_IGNORE_SNAPSHOT_IF_DB_EXISTS",
|
||||||
|
requires = "import-snapshot"
|
||||||
|
)]
|
||||||
pub ignore_snapshot_if_db_exists: bool,
|
pub ignore_snapshot_if_db_exists: bool,
|
||||||
|
|
||||||
/// Defines the directory path where meilisearch will create snapshot each snapshot_time_gap.
|
/// Defines the directory path where meilisearch will create snapshot each snapshot_time_gap.
|
||||||
|
Loading…
Reference in New Issue
Block a user