MCPcopy Index your code
hub / github.com/JamesIves/github-pages-deploy-action / toString

Method toString

lib/worktree.js:40–48  ·  view source on GitHub ↗

* Returns the string representation of the git checkout command.

()

Source from the content-addressed store, hash-verified

38 * Returns the string representation of the git checkout command.
39 */
40 toString() {
41 return [
42 'git',
43 'checkout',
44 this.orphan ? '--orphan' : '-B',
45 this.branch,
46 this.commitish || ''
47 ].join(' ');
48 }
49}
50exports.GitCheckout = GitCheckout;
51/**

Callers 6

generateWorktreeFunction · 0.95
getRsyncVersionFunction · 0.45
configureSSHFunction · 0.45
deployFunction · 0.45
stdoutFunction · 0.45
stderrFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected