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

std/fs/mod.ts>walkSync

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function walkSync
Re-export
import { walkSync } from "https://deno.land/std@0.164.0/fs/mod.ts";

Same as walk() but uses synchronous ops

Parameters

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

Returns

IterableIterator<WalkEntry>