MCPcopy Create free account
hub / github.com/contentlayerdev/contentlayer / FileAdded

Class FileAdded

packages/@contentlayer/utils/src/node/fs-watcher.ts:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17import { unknownFilePath } from '../file-paths.js'
18
19export class FileAdded {
20 readonly _tag = 'FileAdded'
21
22 constructor(public path: UnknownFilePath, public stats: O.Option<fs.Stats>) {}
23}
24
25export class FileRemoved {
26 readonly _tag = 'FileRemoved'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…