Package org.eclipse.jgit.generated.storage.dht.proto.GitCache

Examples of org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedObjectIndex


      }
    }

    private Collection<ObjectInfo> decode(byte[] value)
        throws InvalidProtocolBufferException {
      CachedObjectIndex cacheEntry = CachedObjectIndex.parseFrom(value);
      int sz = cacheEntry.getItemCount();
      ObjectInfo[] r = new ObjectInfo[sz];
      for (int i = 0; i < sz; i++) {
        CachedObjectIndex.Item item = cacheEntry.getItem(i);
        r[i] = new ObjectInfo(
            ChunkKey.fromString(item.getChunkKey()),
            item.getTime(),
            item.getObjectInfo());
      }
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedObjectIndex

Copyright © 2018 www.massapicom. 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.