Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/mod.ts>FileSystemLike

Work-in-progress front-end tool which does put a smile on my face
Latest
interface FileSystemLike
Re-export
import { type FileSystemLike } from "https://deno.land/x/gauntlet@v0.0.9/mod.ts";

Base filesystem bindings

Properties

cwd: () => string
existsSync: (path: string) => boolean
lstatSync: (path: string) => Omit<Omit<WalkEntry, "name">, "path">
walkSync: (currentPath: string) => IterableIterator<WalkEntry>
watch: (paths: string | string[], ...options: any | undefined) => AsyncIterableIterator<FsEvent>
readFileSync: (path: string | URL) => Uint8Array
cwd: () => string
existsSync: (path: string) => boolean
lstatSync: (path: string) => Omit<Omit<WalkEntry, "name">, "path">
walkSync: (currentPath: string) => IterableIterator<WalkEntry>
watch: (paths: string | string[], ...options: any | undefined) => AsyncIterableIterator<FsEvent>
readFileSync: (path: string | URL) => Uint8Array