Skip to main content
Module

x/clone/deps.ts>fs.expandGlobSync

A simple utility for the convenient clone
Latest
function fs.expandGlobSync
import { fs } from "https://deno.land/x/clone@v1.0.6/deps.ts";
const { expandGlobSync } = fs;

Synchronous version of expandGlob().

Examples:

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

Parameters

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

Returns

IterableIterator<WalkEntry>