Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Update repository_files.go #1880

Merged
merged 1 commit into from
Feb 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion repository_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ func (b FileBlameRange) String() string {
// GitLab API docs:
// https://docs.gitlab.com/ee/api/repository_files.html#get-file-blame-from-repository
type GetFileBlameOptions struct {
Ref *string `url:"ref,omitempty" json:"ref,omitempty"`
Ref *string `url:"ref,omitempty" json:"ref,omitempty"`
RangeStart *int `url:"range[start],omitempty" json:"range[start],omitempty"`
RangeEnd *int `url:"range[end],omitempty" json:"range[end],omitempty"`
}

// GetFileBlame allows you to receive blame information. Each blame range
Expand Down
Loading