memfs icon indicating copy to clipboard operation
memfs copied to clipboard

Reactivity, file watching

Open streamich opened this issue 3 months ago • 1 comments

Deno file system events:

    /**
     * Represents a unique file system event yielded by a
     * {@linkcode Deno.FsWatcher}.
     *
     * @category File System */
    export interface FsEvent {
        /** The kind/type of the file system event. */
        kind:
            | "any"
            | "access"
            | "create"
            | "modify"
            | "rename"
            | "remove"
            | "other";
        /** An array of paths that are associated with the file system event. */
        paths: string[];
        /** Any additional flags associated with the event. */
        flag?: FsEventFlag;
    }

streamich avatar Sep 13 '25 13:09 streamich

Excited for CoreFileSystemObserver (this gives me good fidelity for a Jest OPFS mock!), which I'm guessing falls under this issue. Any ETA for the implementations? Thanks for the amazing work!

jamesgpearce avatar Oct 04 '25 00:10 jamesgpearce