Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 27, 2026 Changes in this version + type Error struct + func (e *Error) Error() string + type File struct + Diff string + NewPath string + OldPath string + type Hunk struct + NewEnd int + NewStart int + OldEnd int + OldStart int + func Parse(diff string) ([]Hunk, error) + type Kind string + const Added + const Removed + const Unchanged + type Line struct + Kind Kind + New int + Old int + func (l Line) Code(f File) string + func (l Line) NewLine() *int + func (l Line) OldLine() *int + type LineRange struct + End RangeEnd + Start RangeEnd + type Placed struct + End Line + Position Position + Start Line + func Compute(refs Refs, f File, side Side, line, endLine int) (Placed, error) + type Position struct + BaseSHA string + HeadSHA string + LineRange *LineRange + NewLine *int + NewPath string + OldLine *int + OldPath string + PositionType string + StartSHA string + type RangeEnd struct + LineCode string + NewLine *int + OldLine *int + Type string + type Refs struct + BaseSHA string + HeadSHA string + StartSHA string + type Side string + const New + const Old Other modules containing this package github.com/mmedum/gitlab-mcp/v2 github.com/mmedum/gitlab-mcp/v3 github.com/mmedum/gitlab-mcp/v4