Examples of PackIndex


Examples of org.eclipse.jgit.storage.file.PackIndex

    // If there are less than 58,000 objects, the entire index fits in under
    // 2 MiB. Callers will probably need the index immediately, so buffer
    // the index in process and load from the buffer.
    TemporaryBuffer.Heap buf = null;
    PackIndex packIndex = null;
    if (list.size() <= 58000) {
      buf = new TemporaryBuffer.Heap(2 << 20);
      index(buf, packHash, list);
      packIndex = PackIndex.read(buf.openInputStream());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.