A port of clojure/tools.gitlibs library to ClojureCLR.
An API for retrieving, caching, and programatically accessing git libraries.
To access git dependencies (for example, via tools.deps), one must download git directories and working trees as indicated by git shas. This library provides this functionality and also keeps a cache of git dirs and working trees that can be reused.
See the ClojureJVM library repo linked to above.
For configuration, the environment variables referenced are the same.
Instead of Java system properties, this version will look at the app.config
data.
The equivalent of ~/.gitlibs
on Windows is the the .gitlibs
directory in the user's home directory, typically C:/Users/<username>
.
deps.edn reference:
{io.github.clojure/clr.tools.gitlibs {:git/tag "v2.5.197" sha "a45c55f"}}
Nuget reference:
PM> Install-Package clojure.tools.gitlibs -Version 2.5.197
Leiningen/Clojars reference:
[org.clojure.clr/tools.gitlibs "2.5.197"]
Contributing to Clojure projects requires a signed Contributor Agreement.
Per the ClojureJVM version:
Copyright © 2018-2023 Rich Hickey, Alex Miller, and contributors
All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close