Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/capi/deps/std/fs.ts>expandGlobSync

[WIP] A framework for crafting interactions with Substrate chains
Latest
function expandGlobSync
import { expandGlobSync } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/std/fs.ts";

Synchronous version of expandGlob().

Examples

Example 1

import { expandGlobSync } from "https://deno.land/std@0.224.0/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>