public boolean exists(final String path, final String ref)
throws IOException {
final RestResponse response = this.request.method(Request.GET)
.uri().path(path).queryParam("ref", ref).back()
.fetch().as(RestResponse.class);
return response.status() == HttpURLConnection.HTTP_OK;
}
/**
* Get the contents of a file or symbolic link in a repository.
* @param path The content path