Package org.eclipse.jgit.storage.pack

Examples of org.eclipse.jgit.storage.pack.PackWriter.computeName()


      packNames = new LinkedHashMap<String, String>();
      for (final String n : dest.getPackNames())
        packNames.put(n, n);

      final String base = "pack-" + writer.computeName().name(); //$NON-NLS-1$
      final String packName = base + ".pack"; //$NON-NLS-1$
      pathPack = "pack/" + packName; //$NON-NLS-1$
      pathIdx = "pack/" + base + ".idx"; //$NON-NLS-1$ //$NON-NLS-2$

      if (packNames.remove(packName) != null) {
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.