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.
raw 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"'
```
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw docstring

version-exists?clj

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

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

× close