MCPcopy
hub / github.com/antfu-collective/taze / CheckEventCallbacks

Interface CheckEventCallbacks

src/api/check.ts:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { queueContext } from '../utils/context'
6
7export interface CheckEventCallbacks {
8 afterPackagesLoaded?: (pkgs: PackageMeta[]) => void
9 beforePackageStart?: (pkg: PackageMeta) => void
10 afterPackageEnd?: (pkg: PackageMeta) => void
11 beforePackageWrite?: (pkg: PackageMeta) => boolean | Promise<boolean>
12 afterPackagesEnd?: (pkgs: PackageMeta[]) => void
13 afterPackageWrite?: (pkg: PackageMeta) => void
14 onDependencyResolved?: DependencyResolvedCallback
15}
16
17export async function CheckPackages(options: CheckOptions, callbacks: CheckEventCallbacks = {}) {
18 if (!options.force)

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…