Package com.caucho.server.admin

Examples of com.caucho.server.admin.GitJarStreamSource


  protected String addArchive(GitCommitJar commit)
    throws IOException
  {
    for (String hash : commit.getCommitList()) {
      GitJarStreamSource gitSource = new GitJarStreamSource(hash, commit);
     
      if (! exists(hash)) {
        InputStream is = gitSource.openInputStream();
       
        try {
          writeRawGitFile(hash, is);
        } catch (IOException e) {
          throw new IOException(commit.findPath(hash) + ":" + hash + ": " + e.getMessage(), e);
View Full Code Here

TOP

Related Classes of com.caucho.server.admin.GitJarStreamSource

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.