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

Function getAllProgramFolders

scripts/utils.mjs:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67export function getAllProgramFolders() {
68 return getCargo().workspace.members.filter((member) =>
69 (getCargo(member).lib?.['crate-type'] ?? []).includes('cdylib')
70 );
71}
72
73export function getCargo(folder) {
74 return parseToml(

Callers 2

getAllProgramIdlsFunction · 0.85
getProgramFoldersFunction · 0.85

Calls 1

getCargoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…