Skip to content

Function: createFsGlobSourceBuilder() ​

ts
function createFsGlobSourceBuilder(globPattern): FsGlobSourceNode;

Defined in: fs/src/builders/create-fs-glob-source-builder.ts:13

Compiles a passive FsGlobSourceNode (fs:glob-source) for fs.glob(globPattern).

Resolves all files matching globPattern in deterministic lexicographical path order and pairs their relative paths and UTF-8 contents with a combined SHA-256 digest.

Parameters ​

ParameterTypeDescription
globPatternstringPOSIX glob pattern matched against the repository root.

Returns ​

FsGlobSourceNode

Deeply frozen FsGlobSourceNode AST descriptor.

Released under the MIT License.