Skip to main content
Module

x/scaffold/src/deps/fs.ts>expandGlobSync

scaffold your next project with style and 💗
Latest
function expandGlobSync
import { expandGlobSync } from "https://deno.land/x/scaffold@0.3.0/src/deps/fs.ts";

Synchronous version of expandGlob().

Example:

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

Parameters

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

Returns

IterableIterator<WalkEntry>