String pattern = relativePath;
pattern = pattern.isEmpty() ? null : pattern;
if (parts == null || "uris,diff".equals(parts) || "diff,uris".equals(parts)) //$NON-NLS-1$ //$NON-NLS-2$
return handleMultiPartGet(request, response, db, gitSegment, pattern);
if ("uris".equals(parts)) { //$NON-NLS-1$
OrionServlet.writeJSONResponse(request, response, new Diff(getURI(request), db).toJSON(), JsonURIUnqualificationStrategy.ALL_NO_GIT);
return true;
}
if ("diff".equals(parts)) //$NON-NLS-1$
return handleGetDiff(request, response, db, gitSegment, pattern, response.getOutputStream());
if ("diffs".equals(parts)) //$NON-NLS-1$