Versions in this module Expand all Collapse all v2 v2.4.0 Oct 10, 2026 v2.3.0 Oct 8, 2026 v2.2.1 Oct 2, 2026 v2.2.0 Oct 2, 2026 v2.1.0 Oct 1, 2026 v2.0.0 Sep 29, 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 github.com/mmedum/gitlab-mcp/v3 github.com/mmedum/gitlab-mcp/v4