(conform-version arg)arg - [groupID/]artifactIDReturns 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/]artifactIDkey- either :latest, :release or :versionsIf :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/]artifactIDReturns 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/]artifactIDversion - version number as String- `arg` - `[groupID/]artifactID` - `version` - version number as `String`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |