public interface BlobObjectChecker
Unlike trees, commits and tags, there's no validity of blobs. Implementers can optionally implement this blob checker to reject certain blobs.
| Modifier and Type | Field and Description | 
|---|---|
static BlobObjectChecker | 
NULL_CHECKER
No-op implementation of  
BlobObjectChecker. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
endBlob(AnyObjectId id)
Finalize the blob checking. 
 | 
void | 
update(byte[] in,
      int offset,
      int len)
Check a new fragment of the blob. 
 | 
static final BlobObjectChecker NULL_CHECKER
BlobObjectChecker.void update(byte[] in,
            int offset,
            int len)
in - input array of bytes.offset - offset to start at from in.len - length of the fragment to check.void endBlob(AnyObjectId id) throws CorruptObjectException
id - identity of the object being checked.CorruptObjectException - if any error was detected.Copyright © 2020 Eclipse JGit Project. All rights reserved.