Add ListPullRequestFiles
#607
Labels
No Label
has/backport
has/pull
in progress
invalid
kind/breaking
kind/bug
kind/build
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
need/backport
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/go-sdk#607
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "qwerty287/go-sdk:changed-files"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Was added in
1dfa28ffa5
.ListPullRequestFiles
@6543 @lunny @johlheiser Can you review this PR?
Could you add some test?
@lunny see
fcded84307
.@ -63,0 +63,4 @@
// ChangedFile is a changed file in a diff
type ChangedFile struct {
Filename string `json:"filename"`
PreviousFilename string `json:"previous_filename,omitempty"`
omitempty
is unnecessary to specify here, it's only used for marshalling JSON, not for unmarshalling(current use-case). Please remove it, as well for the other fields that have this tag.See
ed80485f88