MCPcopy Create free account
hub / github.com/solana-program/system / getAllProgramIdls

Function getAllProgramIdls

scripts/utils.mjs:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7export const workingDirectory = (await $`pwd`.quiet()).toString().trim();
8
9export function getAllProgramIdls() {
10 return getAllProgramFolders().map((folder) =>
11 path.join(workingDirectory, folder, 'idl.json')
12 );
13}
14
15export function getExternalProgramOutputDir() {
16 const config = getCargoMetadata()?.solana?.['external-programs-output'];

Callers

nothing calls this directly

Calls 1

getAllProgramFoldersFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…