117118119120121122123124125126127128129130
public String deployJarContents(String tag, Path jar, HashMap<String,String> attributes) throws IOException { GitCommitJar commit = new GitCommitJar(jar); try { return deployJar(tag, commit, attributes); } finally { commit.close(); } }
139140141142143144145146147148149150151152
public String deployJarContents(String tag, InputStream is, HashMap<String,String> attributes) throws IOException { GitCommitJar commit = new GitCommitJar(is); try { return deployJar(tag, commit, attributes); } finally { commit.close(); } }