Deno.FsEvent

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

interface FsEvent {
flag?: FsEventFlag;
kind:
| "any"
| "access"
| "create"
| "modify"
| "remove"
| "other";
paths: string[];
}

§Properties

§

Any additional flags associated with the event.

§
kind: "any" | "access" | "create" | "modify" | "remove" | "other"
[src]

The kind/type of the file system event.

§
paths: string[]
[src]

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