MCPcopy Create free account
hub / github.com/api3dao/airnode / checkout

Function checkout

docker/scripts/git.ts:14–16  ·  view source on GitHub ↗
(ref: string, options?: ExecSyncOptions)

Source from the content-addressed store, hash-verified

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);
16};
17
18export const listFiles = (options?: ExecSyncOptions) =>
19 runCommand(`git ls-files --exclude-standard -oi --directory`, options);

Callers

nothing calls this directly

Calls 1

runCommandFunction · 0.90

Tested by

no test coverage detected