Movatterモバイル変換


[0]ホーム

URL:


Notice  The highest tagged major version isv5.

diff

package
v4.7.0+incompatibleLatest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License:Apache-2.0Imports:2Imported by:1

Details

Repository

github.com/go-git/go-git

Links

Documentation

Overview

Package diff implements line oriented diffs, similar to the ancientUnix diff command.

The current implementation is just a wrapper around Sergi'sgo-diff/diffmatchpatch library, which is a go port of NeilFraser's google-diff-match-patch code

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcDo

func Do(src, dststring) (diffs []diffmatchpatch.Diff)

Do computes the (line oriented) modifications needed to turn the srcstring into the dst string.

funcDst

func Dst(diffs []diffmatchpatch.Diff)string

Dst computes and returns the destination text.

funcSrc

func Src(diffs []diffmatchpatch.Diff)string

Src computes and returns the source text

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp