Class FsckError


  • public class FsckError
    extends Object
    Holds all fsck errors of a git repository.
    • Constructor Detail

      • FsckError

        public FsckError()
    • Method Detail

      • 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