Skip to main content

Module HandleRevParse

Expand description

localGit:revParse(repoPath, ref) -> string. Defaults ref=HEAD so the caller can pass two args or three. Output is trimmed - git rev-parse ships a trailing newline that breaks string equality on the JS side.

Functionsยง

HandleRevParse