Skip to main content

ExtractRelativeBase

Function ExtractRelativeBase 

Source
pub(crate) fn ExtractRelativeBase(Pattern: &Value) -> Option<String>
Expand description

Extract a base directory from a RelativePattern-shaped value. VS Code’s RelativePattern carries { base, pattern } or { baseUri, pattern }. When present, the file walk is restricted to base. Returns None for plain glob strings.