Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
brig committed Aug 28, 2023
1 parent 33d8c50 commit 9528b14
Show file tree
Hide file tree
Showing 6 changed files with 1,255 additions and 1,284 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ protected <T> T fromJson(File f, Class<T> classOfT) throws IOException {
return getApiClient().getObjectMapper().readValue(f, classOfT);
}

protected <T> T fromJson(InputStream is, Class<T> classOfT) throws IOException {
return getApiClient().getObjectMapper().readValue(is, classOfT);
}

protected String createRepo(String resource) throws Exception {
Path tmpDir = createTempDir();

Expand Down
Loading

0 comments on commit 9528b14

Please sign in to comment.