menu

FileWatchBatch

import { FileWatchBatch } from "destack:fs/binding";

Watch events written by one read operation.

language/library/src/fs/binding/watch.ds:114:121
1export struct FileWatchBatch {2    count: uint64;3    pathLength: uint64;4    hasOverflow: boolean;5}

Members

count: uint64

Number of events written into the output slice.

pathLength: uint64

Path buffer length consumed by event paths.

hasOverflow: boolean

Whether the host reported dropped events.