Skip to main content
Module

x/servest/vendor/https/deno.land/std/fs/expand_glob.ts>expandGlob

🌾A progressive http server for Deno🌾
Latest
function expandGlob
import { expandGlob } from "https://deno.land/x/servest@v1.3.4/vendor/https/deno.land/std/fs/expand_glob.ts";

Expand the glob string from the specified root directory and yield each result as a WalkEntry object.

See globToRegExp() for details on supported syntax.

Example:

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

Parameters

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

Returns

AsyncIterableIterator<WalkEntry>