gitdiff

package
v0.0.0-...-544949e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package gitdiff implements diff parsing using bluekeyes/go-gitdiff.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser parses unified diff content using go-gitdiff.

func NewParser

func NewParser() *Parser

NewParser creates a new Parser.

func (*Parser) Parse

func (p *Parser) Parse(r io.Reader) (*diffview.Diff, error)

Parse reads diff content and returns the parsed result.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL