Registry / utility / bluekeyes-go-gitdiff

bluekeyes-go-gitdiff

JSON →
library0.8.1gogounverified

A Go library for parsing and working with git diff output.

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

github.com/bluekeyes/go-gitdiff

Parses a simple git diff string and prints the number of files changed.

package main import ( "fmt" "github.com/bluekeyes/go-gitdiff/gitdiff" ) func main() { files, _, _ := gitdiff.Parse("diff --git a/file.txt b/file.txt") fmt.Println(len(files)) }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources