flake8
passed.
JSHint
passed.
Review Request #13542 — Created Feb. 16, 2024 and submitted
In order for RBTools to upload binary files, we need to know which ones
are needed. This change adds a query parameter to the FileDiff list
resource that allows a caller to get only FileDiffs that are marked as
binary.
Summary | ID |
---|---|
a5164c8e3c34b9134523245cbf8f85a740c57c4a |
Description | From | Last Updated |
---|---|---|
I feel like there's value in being able to do binary=False. Can we do: binary = request.GET.get('binary') if binary is … |
chipx86 |
reviewboard/webapi/resources/filediff.py (Diff revision 1) |
---|
I feel like there's value in being able to do
binary=False
. Can we do:binary = request.GET.get('binary') if binary is not None: ...
And then unit tests for the default and False conditions.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+250 -6) |