| | |
| | | |
| | | public static final String GIT_LFS_META_MIME = "application/vnd.git-lfs+json"; |
| | | |
| | | public static final String REGEX_PATH = "^(.*?)/(r|git)/(.*?)/info/lfs/objects/(batch|" + Constants.REGEX_SHA256 + ")"; |
| | | public static final String REGEX_PATH = "^(.*?)/(r)/(.*?)/info/lfs/objects/(batch|" + Constants.REGEX_SHA256 + ")"; |
| | | public static final int REGEX_GROUP_BASE_URI = 1; |
| | | public static final int REGEX_GROUP_PREFIX = 2; |
| | | public static final int REGEX_GROUP_REPOSITORY = 3; |
| | |
| | | } |
| | | } else { |
| | | response.setStatus(responseObject.error.code); |
| | | serialize(response, responseObject.error); |
| | | |
| | | if (isMetaRequest) { |
| | | serialize(response, responseObject.error); |
| | | } |
| | | } |
| | | }; |
| | | |