Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fsrouter/deps.ts>fs.walkSync

A file system based router for Deno.
Latest
function fs.walkSync
Re-export
import { fs } from "https://deno.land/x/fsrouter@3.1.0/deps.ts";
const { walkSync } = fs;

Same as walk() but uses synchronous ops

Parameters

root: string | URL
optional
unnamed 1: WalkOptions = [UNSUPPORTED]

Returns

IterableIterator<WalkEntry>