Liking cljdoc? Tell your friends :D

depot.outdated.update


try-update-artifactclj

(try-update-artifact loc consider-types repos)

Attempt to update a specific version in a :deps or :extra-deps map.

loc points at the artifact name (map key).

Attempt to update a specific version in a `:deps` or `:extra-deps` map.

`loc` points at the artifact name (map key).
sourceraw docstring

update-aliasesclj

(update-aliases loc consider-types repos)

Update all :aliases, expects a loc pointing at the :aliases map.

Update all `:aliases`, expects a loc pointing at the `:aliases` map.
sourceraw docstring

update-allclj

(update-all loc consider-types repos)

Update all :deps, :extra-deps, and :aliases.

Expects a loc to the top level deps.edn map. consider-types is a set, one of depot.outdated/version-types. repos is a map with optional keys :mvn/repos and :mvn/local-repo.

Update all `:deps`, `:extra-deps`, and `:aliases`.

Expects a loc to the top level `deps.edn` map.
`consider-types` is a set, one of [[depot.outdated/version-types]].
`repos` is a map with optional keys `:mvn/repos` and `:mvn/local-repo`.
sourceraw docstring

update-depsclj

(update-deps loc consider-types repos)

Update all deps in a :deps or :extra-deps map.

loc points at the map.

Update all deps in a `:deps` or `:extra-deps` map.

`loc` points at the map.
sourceraw docstring

update-deps-edn!clj

(update-deps-edn! file consider-types)

Destructively update a deps.edn file.

Read a deps.edn file, update all dependencies in it to their latest version, unless marked with ^:depot/ignore metadata, then overwrite the file with the updated version. Preserves whitespace and comments.

This will consider user and system-wide deps.edn files for locating Maven repositories, but only considers the given file when determining current versions.

consider-types is a set, one of depot.outdated/version-types.

Destructively update a `deps.edn` file.

Read a `deps.edn` file, update all dependencies in it to their latest version,
unless marked with `^:depot/ignore` metadata, then overwrite the file with the
updated version. Preserves whitespace and comments.

This will consider user and system-wide `deps.edn` files for locating Maven
repositories, but only considers the given file when determining current
versions.

`consider-types` is a set, one of [[depot.outdated/version-types]]. 
sourceraw docstring

update-loc?clj

(update-loc? loc)

Should the version at the current position be updated?

Returns true unless any ancestor has the ^:depot/ignore metadata.

Should the version at the current position be updated?

Returns true unless any ancestor has the `^:depot/ignore` metadata.
sourceraw docstring

zgetclj

(zget loc key)

Like [[clojure.core/get]], but for a zipper over a map.

Takes and returns a zipper (loc).

Like [[clojure.core/get]], but for a zipper over a map.

Takes and returns a zipper (loc).
sourceraw docstring

zmap-valsclj

(zmap-vals loc f & args)

Given a zipper pointing at a map, apply a tranformation to each value of the map.

Given a zipper pointing at a map, apply a tranformation to each value of the
map.
sourceraw docstring

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

× close