Interface BlobObjectChecker


  • public interface BlobObjectChecker
    Verifies that a blob object is a valid object.

    Unlike trees, commits and tags, there's no validity of blobs. Implementers can optionally implement this blob checker to reject certain blobs.

    Since:
    4.9
    • Method Detail

      • update

        void update​(byte[] in,
                    int offset,
                    int len)
        Check a new fragment of the blob.
        Parameters:
        in - input array of bytes.
        offset - offset to start at from in.
        len - length of the fragment to check.