Skip to main content

Module HandleRevParse

Module HandleRevParse 

Source
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