nu-experimental 0.115.0

Nushell experimental options
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::*;

/// Enable `dc-glob` as the glob expansion backend used by command-level glob expansion.
///
/// This keeps the current behavior as default and allows opt-in evaluation of the new backend.
pub static DC_GLOB: ExperimentalOption = ExperimentalOption::new(&DcGlob);

struct DcGlob;

impl ExperimentalOptionMarker for DcGlob {
    const IDENTIFIER: &'static str = "dc-glob";
    const DESCRIPTION: &'static str = "Use dc-glob as the experimental glob expansion backend. Recursive patterns follow rust-lang/glob: bare `**` and `dir/**` match directories (including the pattern prefix / start dir); `**/*` matches entries under the start (not the start itself); extra `/*` segments enforce minimum depth.";
    const STATUS: Status = Status::OptIn;
    const SINCE: Version = (0, 112, 3);
    const ISSUE: u32 = 18101;
}