Skip to main content
Module

x/cav/deps.ts>graph.ModuleGraph#lock

A server framework for Deno
Go to Latest
method graph.ModuleGraph.prototype.lock
Re-export
import { graph } from "https://deno.land/x/cav@0.0.21/deps.ts";
const { ModuleGraph } = graph;

Determine if the graph sources are valid by calling the passed check() function. If any of the modules in the graph fail the check, then an error is thrown.