Class FullIndexer

java.lang.Object
com.artipie.conan.FullIndexer

public class FullIndexer extends Object
Conan V2 API revisions index (re)generation support. Revisions index stored in revisions.txt file in json format. There are 2+ index files: recipe revisions and binary revisions (per package).
Since:
0.1
  • Constructor Details

    • FullIndexer

      public FullIndexer(Storage storage, RevisionsIndexer indexer)
      Initializes instance of indexer.
      Parameters:
      storage - Current Artipie storage instance.
      indexer - Revision info indexer.
  • Method Details

    • fullIndexUpdate

      public CompletionStage<Void> fullIndexUpdate(Key key)
      Updates binary index file. Fully recursive. Does updateRecipeIndex(), then for each revision invalid input: '&' for each pkg binary updateBinaryIndex().
      Parameters:
      key - Key in the Artipie Storage for the revisions index file.
      Returns:
      CompletionStage to handle operation completion.