mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-25 11:46:06 +02:00
2b269f1b6d
* fix(fs): Apply requireLiteralLeadingDot config * fix deserialization * reword changefile [skip ci]
20 lines
811 B
Rust
20 lines
811 B
Rust
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
use serde::Deserialize;
|
|
|
|
#[derive(Deserialize)]
|
|
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
|
pub struct Config {
|
|
/// Whether or not paths that contain components that start with a `.`
|
|
/// will require that `.` appears literally in the pattern; `*`, `?`, `**`,
|
|
/// or `[...]` will not match. This is useful because such files are
|
|
/// conventionally considered hidden on Unix systems and it might be
|
|
/// desirable to skip them when listing files.
|
|
///
|
|
/// Defaults to `true` on Unix systems and `false` on Windows
|
|
// dotfiles are not supposed to be exposed by default on unix
|
|
pub require_literal_leading_dot: Option<bool>,
|
|
}
|