Package org.eclipse.jgit.storage.dht

Examples of org.eclipse.jgit.storage.dht.RefKey


  public Map<RefKey, RefData> getAll(Context options, RepositoryKey repository)
      throws DhtException, TimeoutException {
    Map<RefKey, RefData> out = new HashMap<RefKey, RefData>();
    for (MemTable.Cell cell : table.scanFamily(repository.asBytes(), colRef)) {
      RefKey ref = RefKey.fromBytes(colRef.suffix(cell.getName()));
      try {
        out.put(ref, RefData.parseFrom(cell.getValue()));
      } catch (InvalidProtocolBufferException badCell) {
        throw new DhtException(MessageFormat.format(
            DhtText.get().invalidRefData, ref), badCell);
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.storage.dht.RefKey

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.