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

x/deno/cli/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.0/cli/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.