Liking cljdoc? Tell your friends :D

depo.resolver


conform-versionclj

(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.
sourceraw docstring

form-pathclj

(form-path {:keys [groupID artifactID]})

Returns a string path that can be used in urls given a dependency map.

Example

(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"'
```
sourceraw docstring

get-all-versionsclj

(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.
sourceraw docstring

get-latest-versionclj

(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.
sourceraw docstring

get-release-versionclj

(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.
sourceraw docstring

get-versionclj

(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.
sourceraw docstring

get-versioningclj

(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.
sourceraw docstring

version-exists?clj

(version-exists? arg version)
  • arg - [groupID/]artifactID
  • version - version number as String
- `arg` - `[groupID/]artifactID`
- `version` - version number as `String`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close