read-git-ref

leiningen.pom

  • (read-git-ref git-dir ref-path)
Reads the commit SHA1 for a git ref path.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source leiningen/pom.clj:16 top

(defn read-git-ref
  "Reads the commit SHA1 for a git ref path."
  [git-dir ref-path]
  (.trim (slurp (str (file git-dir ref-path)))))
Vars in leiningen.pom/read-git-ref: defn slurp str
Used in 0 other vars

Comments top

No comments for read-git-ref. Log in to add a comment.