Examples of IdWithChunk


Examples of org.eclipse.jgit.storage.dht.RefDataUtil.IdWithChunk

  }

  ChunkKey findChunk(AnyObjectId id) {
    RefCache c = cache.get();
    if (c != null) {
      IdWithChunk i = c.hints.get(id);
      if (i != null)
        return i.getChunkKey();
    }
    return null;
  }
View Full Code Here

Examples of org.eclipse.jgit.storage.dht.RefDataUtil.IdWithChunk

  private static ObjectId idFrom(RefData.Id src) {
    ObjectId id = ObjectId.fromString(src.getObjectName());
    if (!src.hasChunkKey())
      return id;
    return new IdWithChunk(id, ChunkKey.fromString(src.getChunkKey()));
  }
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.