Class FsckError

java.lang.Object
org.eclipse.jgit.internal.fsck.FsckError

public class FsckError extends Object
Holds all fsck errors of a git repository.
  • Field Details

  • Constructor Details

    • FsckError

      public FsckError()
  • Method Details

    • getCorruptObjects

      public Set<FsckError.CorruptObject> getCorruptObjects()
      Get corrupt objects from all pack files
      Returns:
      corrupt objects from all pack files
    • getMissingObjects

      public Set<ObjectId> getMissingObjects()
      Get missing objects that should present in pack files
      Returns:
      missing objects that should present in pack files
    • getCorruptIndices

      public Set<FsckError.CorruptIndex> getCorruptIndices()
      Get corrupt index files associated with the packs
      Returns:
      corrupt index files associated with the packs
    • getNonCommitHeads

      public Set<String> getNonCommitHeads()
      Get refs/heads/* which point to non-commit object
      Returns:
      refs/heads/* which point to non-commit object