Skip to main content
Module

x/denoversion/lib/lib.deno_runtime.d.ts>deno.readDirSync

Deno cli to manage and bump release versions.
Latest
function deno.readDirSync
import { deno } from "https://deno.land/x/denoversion@v1.0.2/lib/lib.deno_runtime.d.ts";
const { readDirSync } = deno;

Reads the directory given by path and returns a list of file info synchronously.

  import { readDirSync } from "deno";
  const files = readDirSync("/");

Parameters

path: string