Skip to main content
Module

x/leaves/deps.ts>expandGlobSync

A Web framework For Deno with Decorator and middleware
Latest
function expandGlobSync
import { expandGlobSync } from "https://deno.land/x/leaves@v0.1.5/deps.ts";

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>