Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions reference/commands/cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,16 @@ For example, to verify the integrity of the whole Conan local cache, do:
zlib/1.3.1:6fe7fa69f760aee504e0be85c12b2327c716f9e7: Integrity checked: ok


This command can also return a pkglist when the ``--format=json`` option is used.
This returns the packages the are corrupted, which is useful for generating a list of packages that can later be used, for example,
to remove all potentially corrupted packages in a single operation:

.. code-block:: text

$ conan cache check-integrity "*" --format=json --out-file pkglist.json
$ conan remove --list pkglist.json


conan cache backup-upload
-------------------------

Expand Down