MCPcopy Index your code
hub / github.com/api3dao/airnode / clone

Function clone

docker/scripts/git.ts:12–12  ·  view source on GitHub ↗
(directory?: string)

Source from the content-addressed store, hash-verified

10export const config = (section: string, value: string) => runCommand(`git config --global --add ${section} '${value}'`);
11
12export const clone = (directory?: string) => runCommand(`git clone ${AIRNODE_REPOSITORY} ${directory ?? ''}`);
13
14export const checkout = (ref: string, options?: ExecSyncOptions) => {
15 runCommand(`git checkout ${ref}`, options);

Callers

nothing calls this directly

Calls 1

runCommandFunction · 0.90

Tested by

no test coverage detected