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

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.FsEvent

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.FsEvent
import { type Deno } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno.ns.d.ts";
const { FsEvent } = Deno;

Represents a unique file system event yielded by a Deno.FsWatcher.

Properties

kind:
| "any"
| "access"
| "create"
| "modify"
| "remove"
| "other"

The kind/type of the file system event.

paths: string[]

An array of paths that are associated with the file system event.

optional
flag: FsEventFlag

Any additional flags associated with the event.