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

Function partitionArguments

scripts/utils.mjs:112–117  ·  view source on GitHub ↗
(args, delimiter)

Source from the content-addressed store, hash-verified

110}
111
112export function partitionArguments(args, delimiter) {
113 const index = args.indexOf(delimiter);
114 return index >= 0
115 ? [args.slice(0, index), args.slice(index + 1)]
116 : [args, []];
117}
118
119export async function getInstalledSolanaVersion() {
120 try {

Callers 2

format-rust.mjsFile · 0.90
format.mjsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…