snyk-go-plugin
Version:
Snyk CLI Golang plugin
6 lines (5 loc) • 422 B
TypeScript
import { jsonParse } from './helpers';
import type { Options, DepGraphResult, DepTreeResult, DepTree, DepDict } from './types';
import { buildDepGraphFromImportsAndModules, buildGraph } from './dep-graph';
export declare function inspect(root: string, targetFile: string, options?: Options): Promise<DepGraphResult | DepTreeResult>;
export { DepDict, DepTree, buildDepGraphFromImportsAndModules, buildGraph, jsonParse, };