Skip to main content
Module

x/bob/deps.ts>fs.expandGlobSync

A static site generator for the dynamic web - develop with TSX and build with Deno
Latest
function fs.expandGlobSync
import { fs } from "https://deno.land/x/bob@v2.8.1/deps.ts";
const { expandGlobSync } = fs;

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>