Logo FS-Skia-UI

Globbing Module

Functions and values

Function or value Description

currencyDiff expected actual

Full Usage: currencyDiff expected actual

Parameters:
    expected : string
    actual : string

Returns: string list

DiffPlex-based generation-currency diff: the lines that differ between the `expected` (regenerated) text and the `actual` (on-disk) text. An empty list means the on-disk artifact is current.

expected : string
actual : string
Returns: string list

discover root globs

Full Usage: discover root globs

Parameters:
    root : string
    globs : string list

Returns: string list

Recursively enumerate files under `root` whose `/`-normalized path (relative to `root`) matches any of `globs`. Returns relative paths in deterministic (sorted) order.

root : string
globs : string list
Returns: string list

isMatch glob path

Full Usage: isMatch glob path

Parameters:
    glob : string
    path : string

Returns: bool

fnmatch-style match: `**` crosses `/`, `*` and `?` stay within a single path segment, and both inputs are `/`-normalized before matching.

glob : string
path : string
Returns: bool

Type something to start searching.