Liking cljdoc? Tell your friends :D

ancient-clj.core


artifact-outdated-string?clj

(artifact-outdated-string? artifact & [opts])

Check whether the given artifact is outdated, returning either nil or a string representing the latest version. (For possible options see ancient-clj.core/versions-per-repository!.)

Check whether the given artifact is outdated, returning either `nil` or
a string representing the latest version.
(For possible options see `ancient-clj.core/versions-per-repository!`.)
sourceraw docstring

artifact-outdated?clj

(artifact-outdated? artifact & [opts])

Check whether the given artifact is outdated, returning either nil or a map representing the latest version. (For possible options see ancient-clj.core/versions-per-repository!.)

Check whether the given artifact is outdated, returning either `nil` or
a map representing the latest version.
(For possible options see `ancient-clj.core/versions-per-repository!`.)
sourceraw docstring

create-loadersclj

(create-loaders m & {:keys [wrap] :or {wrap identity}})

Create loader map for a seq of ID/settings pairs representing different repositories.

wrap will be called on each loader function.

Create loader map for a seq of ID/settings pairs representing
different repositories.

`wrap` will be called on each loader function.
sourceraw docstring

default-repositoriesclj

source

latest-version!clj

(latest-version! artifact & [opts])

Return a map representing the latest artifact version. (For possible options see ancient-clj.core/versions-per-repository!.)

Return a map representing the latest artifact version.
(For possible options see `ancient-clj.core/versions-per-repository!`.)
sourceraw docstring

latest-version-string!clj

(latest-version-string! artifact & [opts])

Return a string representing the latest artifact version. (For possible options see ancient-clj.core/versions-per-repository!.)

Return a string representing the latest artifact version.
(For possible options see `ancient-clj.core/versions-per-repository!`.)
sourceraw docstring

maybe-create-loaderclj

(maybe-create-loader spec)

Create loader function for the given spec. Will return nil for unknown loader types.

Create loader function for the given spec. Will return `nil` for
unknown loader types.
sourceraw docstring

maybe-create-loadersclj

(maybe-create-loaders m & {:keys [wrap] :or {wrap identity}})

Create loader map for a seq of ID/settings pairs representing different repositories. Will contain nil values for unknown loaders.

wrap will be called on each loader function.

Create loader map for a seq of ID/settings pairs representing
different repositories. Will contain `nil` values for unknown
loaders.

`wrap` will be called on each loader function.
sourceraw docstring

read-artifactclj

(read-artifact this)

Create a map of ':group', ':id', ':version' and ':version-string', as well as :symbol and :form.

Create a map of ':group', ':id', ':version' and ':version-string',
as well as `:symbol` and `:form`.
sourceraw docstring

version-strings!clj

(version-strings! artifact & [opts])

Return a seq of version strings. (For possible options see ancient-clj.core/versions-per-repository!.)

Return a seq of version strings.
(For possible options see `ancient-clj.core/versions-per-repository!`.)
sourceraw docstring

versions!clj

(versions! artifact
           &
           [{:keys [repositories snapshots? qualified? sort]
             :or {repositories default-repositories
                  snapshots? true
                  qualified? true
                  sort :desc}
             :as opts}])

Return a seq of version maps. (For possible options see ancient-clj.core/versions-per-repository!.)

Return a seq of version maps.
(For possible options see `ancient-clj.core/versions-per-repository!`.)
sourceraw docstring

versions-per-repository!clj

(versions-per-repository! artifact
                          &
                          [{:keys [repositories snapshots? qualified? sort]
                            :or {repositories default-repositories
                                 snapshots? true
                                 qualified? true
                                 sort :desc}
                            :as opts}])

Return a map with either a seq of versions or a Throwable for each repository.

  • :repositories: a map of repository ID -> loader specification.
  • :snapshots?: if set to false, SNAPSHOT versions will be filtered.
  • :qualified?: if set to false, qualified versions (e.g. "*-alpha") will be filtered.
  • :sort: the order of the resulting versions seqs (:desc, :asc, :none).

A loader specification can either be a map (with at least the key :uri), a string or a two-parameter function (taking artifact group and ID).

Versions will be given as maps of :version-string and :version where the latter represents a version-clj value.

Return a map with either a seq of versions or a Throwable for each
repository.

- `:repositories`: a map of repository ID -> loader specification.
- `:snapshots?`: if set to false, SNAPSHOT versions will be filtered.
- `:qualified?`: if set to false, qualified versions (e.g. "*-alpha") will be filtered.
- `:sort`: the order of the resulting versions seqs (`:desc`, `:asc`, `:none`).

A loader specification can either be a map (with at least the key `:uri`), a string
or a two-parameter function (taking artifact group and ID).

Versions will be given as maps of `:version-string` and `:version` where the latter
represents a version-clj value.
sourceraw docstring

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

× close