From 9d3ad16bbae26e47806fd89045aa16bde2226f6f Mon Sep 17 00:00:00 2001 From: assembly-winston Date: Sat, 10 Feb 2024 01:33:37 -0800 Subject: [PATCH] Update repository_files.go --- repository_files.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/repository_files.go b/repository_files.go index fd96fa433..2f58b39ac 100644 --- a/repository_files.go +++ b/repository_files.go @@ -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