Module

x/fresh/tests/deps.ts>fs.expandGlobSync

The next-gen web framework.
Extremely Popular
Go to Latest
function fs.expandGlobSync
import { fs } from "https://dotland.deno.dev/x/fresh@1.5.2/tests/deps.ts";
const { expandGlobSync } = fs;

Synchronous version of expandGlob().

Examples

Example 1

import { expandGlobSync } from "https://deno.land/std@$STD_VERSION/fs/expand_glob.ts";
for (const file of expandGlobSync("**\/*.ts")) {
  console.log(file);
}

Parameters

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

Returns

IterableIterator<WalkEntry>