Skip to main content
Module

x/dext/deps/mod.ts>fs.expandGlobSync

The Preact Framework for Deno
Latest
function fs.expandGlobSync
import { fs } from "https://deno.land/x/dext@0.10.5/deps/mod.ts";
const { expandGlobSync } = fs;

Synchronous version of expandGlob().

Example:

 for (const file of expandGlobSync("**\/*.ts")) {
   console.log(file);
 }

Parameters

glob: string
optional
unnamed 1: ExpandGlobOptions = [UNSUPPORTED]

Returns

IterableIterator<WalkEntry>