(conform-version arg)
arg
- [groupID/]artifactID
Returns a map with :groupID
, :artifactID
and :version
.
If a version is not provided, it will look for the release version. If a version is provided, it will check if the version exists. If it doesn't, it will default to use the release version.
- `arg` - `[groupID/]artifactID` Returns a map with `:groupID`, `:artifactID` and `:version`. If a version is not provided, it will look for the release version. If a version is provided, it will check if the version exists. If it doesn't, it will default to use the release version.
(form-path {:keys [groupID artifactID]})
Returns a string path that can be used in urls given a dependency map.
(form-path {:groupID "org.clojure" :artifactID "clojure"})'
; returns "org/clojure/clojure"'
Returns a string path that can be used in urls given a dependency map. ### Example ```clj (form-path {:groupID "org.clojure" :artifactID "clojure"})' ; returns "org/clojure/clojure"' ```
(get-all-versions arg)
Takes in an artifact argument [groupID/]artifactID
and returns a vector of xml elements. Use :content
to get version number.
Takes in an artifact argument `[groupID/]artifactID` and returns a vector of xml elements. Use `:content` to get version number.
(get-latest-version arg)
Takes in an artifact argument [groupID/]artifactID
and returns the latest version. May return nil. Use get-release-version
instead.
Takes in an artifact argument `[groupID/]artifactID` and returns the latest version. May return nil. Use `get-release-version` instead.
(get-release-version arg)
Takes in an artifact argument [groupID/]artifactID
and returns the release version.
Takes in an artifact argument `[groupID/]artifactID` and returns the release version.
(get-version arg key)
arg
- [groupID/]artifactID
key
- either :latest
, :release
or :versions
If :latest
or :release
, returns a string containing
the version number. If :versions
, returns a vector
of XML elements. Use :content
to get version number.
- `arg` - `[groupID/]artifactID` - `key`- either `:latest`, `:release` or `:versions` If `:latest` or `:release`, returns a string containing the version number. If `:versions`, returns a vector of XML elements. Use `:content` to get version number.
(get-versioning arg)
arg
- [groupID/]artifactID
Returns a vec containing versioning metadata, which includes release version, all published versions and, if it exists, latest version.
- `arg` - `[groupID/]artifactID` Returns a vec containing versioning metadata, which includes release version, all published versions and, if it exists, latest version.
(version-exists? arg version)
arg
- [groupID/]artifactID
version
- version number as String
- `arg` - `[groupID/]artifactID` - `version` - version number as `String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close