packagemainimport("log"git"github.com/purpleclay/gitz")funcmain(){client,_:=git.NewClient()// Changes are made to local files_,err:=client.Diff()iferr!=nil{log.Fatal("failed to diff repository for changes")}}
packagemainimport("log"git"github.com/purpleclay/gitz")funcmain(){client,_:=git.NewClient()// Changes are made to local files_,err:=client.Diff(git.WithDiffPaths("main.go","internal/cache"))iferr!=nil{log.Fatal("failed to diff repository for changes")}}