Liking cljdoc? Tell your friends :D

ancient-clj.core


artifact-outdated-string?cljdeprecated

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

artifact-outdated?cljdeprecated

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

collectorclj

(collector {:keys [visitor check? loader]
            :or {check? (constantly true) loader (default-loader)}})

Will create a collector function that takes a rewrite-clj zipper, collects all dependencies, loads the latest versions and returns each artifact that needs to be updated, incl. a :latest-version key.

Will create a collector function that takes a `rewrite-clj` zipper, collects
all dependencies, loads the latest versions and returns each artifact that
needs to be updated, incl. a `:latest-version` key.
sourceraw docstring

default-loaderclj

(default-loader)

See loader. Will use the default repositories and only return a flattened seq of version maps.

See [[loader]]. Will use the default repositories and only return a flattened
seq of version maps.
sourceraw docstring

file-updaterclj

(file-updater opts)

See updater. Will update a file in place.

If the file is modified while the update is ongoing, this will throw an exception.

See [[updater]]. Will update a file in place.

If the file is modified while the update is ongoing, this will throw an
exception.
sourceraw docstring

latest-versionclj

(latest-version artifact)
(latest-version loader artifact)

Return the latest version from the given loader, represented as a version map.

Return the latest version from the given loader, represented as a version
map.
sourceraw docstring

latest-version!cljdeprecated

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

latest-version-string!cljdeprecated

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

loaderclj

(loader opts)

See ancient-clj.repositories/loader. Will only return a flattened seq of version maps.

See [[ancient-clj.repositories/loader]]. Will only return a flattened seq
of version maps.
sourceraw docstring

read-artifactclj

(read-artifact artifact)

Convert artifact vector or symbol to a map of:

  • :group: artifact group,
  • :id: artifact ID,
  • :symbol: normalized artifact symbol (incl. group/ID),
  • :form: normalized artifact vector,
  • :value: original value (if a vector was given).
Convert artifact vector or symbol to a map of:
- `:group`:  artifact group,
- `:id`:     artifact ID,
- `:symbol`: normalized artifact symbol (incl. group/ID),
- `:form`:   normalized artifact vector,
- `:value`:  original value (if a vector was given).
sourceraw docstring

sorted-versionsclj

(sorted-versions artifact)
(sorted-versions loader artifact)

Return a sorted list of versions (oldest -> newest), represented as version maps.

Return a sorted list of versions (oldest -> newest), represented as
version maps.
sourceraw docstring

updaterclj

(updater {:keys [visitor check? update? loader]
          :or {check? (constantly true)
               update? (constantly true)
               loader (default-loader)}
          :as opts})

Will create an updater functions that takes a rewrite-clj zipper, collects all dependencies, loads the latest versions and updates them. The result will be an updated zipper.

Will create an updater functions that takes a `rewrite-clj` zipper, collects
all dependencies, loads the latest versions and updates them. The result will
be an updated zipper.
sourceraw docstring

version-strings!cljdeprecated

(version-strings! artifact & [opts])
source

versions!cljdeprecated

(versions! artifact & [opts])
source

wrap-as-stringclj

(wrap-as-string loader)

Wrap a loader to only return the contained version strings.

Wrap a [[loader]] to only return the contained version strings.
sourceraw docstring

wrap-ignoreclj

(wrap-ignore loader what-to-ignore)

Wrap the given loader to ignore certain version types, given as a seq of keywords:

  • :snapshot: If given, removes SNAPSHOT versions from the result.
  • :qualified: If given, removes qualified versions from the result (except SNAPSHOT ones).
Wrap the given loader to ignore certain version types, given as a seq of
keywords:

- `:snapshot`: If given, removes SNAPSHOT versions from the result.
- `:qualified`: If given, removes qualified versions from the result (except
  SNAPSHOT ones).
sourceraw docstring

wrap-sortclj

(wrap-sort loader asc-or-desc)
source

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

× close