|
| https://go.dev/ |
| Skip to Main Content | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#main-content |
|
Why Go
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
|
Case Studies
| https://go.dev/solutions/case-studies |
|
Use Cases
| https://go.dev/solutions/use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
|
| https://groups.google.com/g/golang-nuts |
|
| https://github.com/golang |
|
| https://twitter.com/golang |
|
| https://www.reddit.com/r/golang/ |
|
| https://invite.slack.golangbridge.org/ |
|
| https://stackoverflow.com/collectives/go |
|
| https://go.dev/ |
|
Why Go
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
|
Why Go
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
|
Case Studies
| https://go.dev/solutions/case-studies |
|
Use Cases
| https://go.dev/solutions/use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
|
Docs
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
|
Community
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
| https://groups.google.com/g/golang-nuts |
| https://github.com/golang |
| https://twitter.com/golang |
| https://www.reddit.com/r/golang/ |
| https://invite.slack.golangbridge.org/ |
| https://stackoverflow.com/collectives/go |
| Discover Packages | https://pkg.go.dev/ |
| github.com/gitleaks/go-gitdiff | https://pkg.go.dev/github.com/gitleaks/go-gitdiff |
|
gitdiff
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff@v0.9.1/gitdiff |
|
| https://go.dev/ |
|
Version:
v0.9.1
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff?tab=versions |
|
Go to latest
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff |
| MIT | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff?tab=licenses |
|
Imports: 16
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff?tab=imports |
|
Imported by: 13
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff?tab=importedby |
| go.mod | https://github.com/gitleaks/go-gitdiff/tree/v0.9.1/go.mod |
| Learn more about best practices | https://pkg.go.dev/about#best-practices |
|
github.com/gitleaks/go-gitdiff
| https://github.com/gitleaks/go-gitdiff |
|
Open Source Insights
| https://deps.dev/go/github.com%2Fgitleaks%2Fgo-gitdiff/v0.9.1 |
|
Documentation
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#section-documentation |
| Overview | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-overview |
|
Index
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-index |
|
Constants
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-constants |
|
Variables
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-variables |
|
Functions
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-functions |
|
Apply(dst, src, f)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Apply |
|
Parse(r)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Parse |
|
ParsePatchDate(s)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ParsePatchDate |
|
Types
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-types |
|
type Applier
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier |
|
NewApplier(src)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#NewApplier |
|
(a) ApplyBinaryFragment(dst, f)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.ApplyBinaryFragment |
|
(a) ApplyFile(dst, f)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.ApplyFile |
|
(a) ApplyTextFragment(dst, f)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.ApplyTextFragment |
|
(a) Flush(dst)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.Flush |
|
(a) Reset(src)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.Reset |
|
type ApplyError
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError |
|
(e) Error()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError.Error |
|
(e) Unwrap()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError.Unwrap |
|
type BinaryFragment
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryFragment |
|
type BinaryPatchMethod
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryPatchMethod |
|
type Conflict
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict |
|
(c) Error()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict.Error |
|
(c) Is(other)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict.Is |
|
type File
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#File |
|
type Line
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line |
|
(fl) New()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.New |
|
(fl) NoEOL()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.NoEOL |
|
(fl) Old()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.Old |
|
(fl) String()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.String |
|
type LineOp
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp |
|
(op) String()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp.String |
|
type LineReaderAt
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineReaderAt |
|
type PatchHeader
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchHeader |
|
ParsePatchHeader(s)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ParsePatchHeader |
|
(h) Message()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchHeader.Message |
|
type PatchIdentity
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity |
|
ParsePatchIdentity(s)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ParsePatchIdentity |
|
(i) String()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity.String |
|
type TextFragment
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment |
|
(f) Header()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment.Header |
|
(f) Raw(op)
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment.Raw |
|
(f) Validate()
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment.Validate |
|
Source Files
| https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#section-sourcefiles |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#section-documentation |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-overview |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-index |
| func Apply(dst io.Writer, src io.ReaderAt, f *File) error | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Apply |
| func Parse(r io.Reader) (<-chan *File, error) | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Parse |
| func ParsePatchDate(s string) (time.Time, error) | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ParsePatchDate |
| type Applier | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier |
| func NewApplier(src io.ReaderAt) *Applier | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#NewApplier |
| func (a *Applier) ApplyBinaryFragment(dst io.Writer, f *BinaryFragment) error | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.ApplyBinaryFragment |
| func (a *Applier) ApplyFile(dst io.Writer, f *File) error | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.ApplyFile |
| func (a *Applier) ApplyTextFragment(dst io.Writer, f *TextFragment) error | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.ApplyTextFragment |
| func (a *Applier) Flush(dst io.Writer) (err error) | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.Flush |
| func (a *Applier) Reset(src io.ReaderAt) | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.Reset |
| type ApplyError | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError |
| func (e *ApplyError) Error() string | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError.Error |
| func (e *ApplyError) Unwrap() error | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError.Unwrap |
| type BinaryFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryFragment |
| type BinaryPatchMethod | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryPatchMethod |
| type Conflict | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict |
| func (c *Conflict) Error() string | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict.Error |
| func (c *Conflict) Is(other error) bool | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict.Is |
| type File | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#File |
| type Line | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line |
| func (fl Line) New() bool | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.New |
| func (fl Line) NoEOL() bool | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.NoEOL |
| func (fl Line) Old() bool | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.Old |
| func (fl Line) String() string | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.String |
| type LineOp | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp |
| func (op LineOp) String() string | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp.String |
| type LineReaderAt | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineReaderAt |
| type PatchHeader | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchHeader |
| func ParsePatchHeader(s string) (*PatchHeader, error) | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ParsePatchHeader |
| func (h *PatchHeader) Message() string | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchHeader.Message |
| type PatchIdentity | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity |
| func ParsePatchIdentity(s string) (PatchIdentity, error) | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ParsePatchIdentity |
| func (i PatchIdentity) String() string | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity.String |
| type TextFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment |
| func (f *TextFragment) Header() string | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment.Header |
| func (f *TextFragment) Raw(op LineOp) string | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment.Raw |
| func (f *TextFragment) Validate() error | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment.Validate |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-constants |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-variables |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-functions |
| Apply | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L103 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Apply |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| io | https://pkg.go.dev/io |
| ReaderAt | https://pkg.go.dev/io#ReaderAt |
| File | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#File |
| error | https://pkg.go.dev/builtin#error |
| Parse | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/parser.go#L18 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Parse |
| io | https://pkg.go.dev/io |
| Reader | https://pkg.go.dev/io#Reader |
| File | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#File |
| error | https://pkg.go.dev/builtin#error |
| ParsePatchDate | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/patch_header.go#L120 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ParsePatchDate |
| string | https://pkg.go.dev/builtin#string |
| time | https://pkg.go.dev/time |
| Time | https://pkg.go.dev/time#Time |
| error | https://pkg.go.dev/builtin#error |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#pkg-types |
| Applier | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L123 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier |
| NewApplier | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L132 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#NewApplier |
| io | https://pkg.go.dev/io |
| ReaderAt | https://pkg.go.dev/io#ReaderAt |
| Applier | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier |
| ApplyBinaryFragment | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L301 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.ApplyBinaryFragment |
| Applier | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| BinaryFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryFragment |
| error | https://pkg.go.dev/builtin#error |
| ApplyFile | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L155 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.ApplyFile |
| Applier | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| File | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#File |
| error | https://pkg.go.dev/builtin#error |
| ApplyTextFragment | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L199 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.ApplyTextFragment |
| Applier | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| TextFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment |
| error | https://pkg.go.dev/builtin#error |
| Flush | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L286 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.Flush |
| Applier | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| error | https://pkg.go.dev/builtin#error |
| Reset | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L140 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier.Reset |
| Applier | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Applier |
| io | https://pkg.go.dev/io |
| ReaderAt | https://pkg.go.dev/io#ReaderAt |
| ApplyError | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L39 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError |
| int64 | https://pkg.go.dev/builtin#int64 |
| int | https://pkg.go.dev/builtin#int |
| int | https://pkg.go.dev/builtin#int |
| Error | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L55 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError.Error |
| ApplyError | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError |
| string | https://pkg.go.dev/builtin#string |
| Unwrap | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L51 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError.Unwrap |
| ApplyError | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ApplyError |
| error | https://pkg.go.dev/builtin#error |
| BinaryFragment | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L198 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryFragment |
| BinaryPatchMethod | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryPatchMethod |
| int64 | https://pkg.go.dev/builtin#int64 |
| byte | https://pkg.go.dev/builtin#byte |
| BinaryPatchMethod | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L205 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryPatchMethod |
| int | https://pkg.go.dev/builtin#int |
| BinaryPatchMethod | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryPatchMethod |
| iota | https://pkg.go.dev/builtin#iota |
| Conflict | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L20 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict |
| Error | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L24 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict.Error |
| Conflict | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict |
| string | https://pkg.go.dev/builtin#string |
| Is | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go#L30 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict.Is |
| Conflict | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Conflict |
| error | https://pkg.go.dev/builtin#error |
| bool | https://pkg.go.dev/builtin#bool |
| File | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L12 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#File |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| bool | https://pkg.go.dev/builtin#bool |
| bool | https://pkg.go.dev/builtin#bool |
| bool | https://pkg.go.dev/builtin#bool |
| bool | https://pkg.go.dev/builtin#bool |
| os | https://pkg.go.dev/os |
| FileMode | https://pkg.go.dev/os#FileMode |
| os | https://pkg.go.dev/os |
| FileMode | https://pkg.go.dev/os#FileMode |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| int | https://pkg.go.dev/builtin#int |
| PatchHeader | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchHeader |
| TextFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment |
| bool | https://pkg.go.dev/builtin#bool |
| BinaryFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryFragment |
| BinaryFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#BinaryFragment |
| Line | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L149 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line |
| LineOp | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp |
| string | https://pkg.go.dev/builtin#string |
| New | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L164 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.New |
| Line | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line |
| bool | https://pkg.go.dev/builtin#bool |
| NoEOL | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L169 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.NoEOL |
| Line | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line |
| bool | https://pkg.go.dev/builtin#bool |
| Old | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L159 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.Old |
| Line | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line |
| bool | https://pkg.go.dev/builtin#bool |
| String | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L154 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line.String |
| Line | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line |
| string | https://pkg.go.dev/builtin#string |
| LineOp | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L174 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp |
| int | https://pkg.go.dev/builtin#int |
| LineOp | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp |
| iota | https://pkg.go.dev/builtin#iota |
| String | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L185 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp.String |
| LineOp | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp |
| string | https://pkg.go.dev/builtin#string |
| LineReaderAt | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/io.go#L25 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineReaderAt |
| byte | https://pkg.go.dev/builtin#byte |
| int64 | https://pkg.go.dev/builtin#int64 |
| int | https://pkg.go.dev/builtin#int |
| error | https://pkg.go.dev/builtin#error |
| PatchHeader | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/patch_header.go#L25 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchHeader |
| string | https://pkg.go.dev/builtin#string |
| PatchIdentity | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity |
| time | https://pkg.go.dev/time |
| Time | https://pkg.go.dev/time#Time |
| PatchIdentity | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity |
| time | https://pkg.go.dev/time |
| Time | https://pkg.go.dev/time#Time |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| ParsePatchHeader | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/patch_header.go#L189 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ParsePatchHeader |
| string | https://pkg.go.dev/builtin#string |
| PatchHeader | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchHeader |
| error | https://pkg.go.dev/builtin#error |
| Message | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/patch_header.go#L58 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchHeader.Message |
| PatchHeader | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchHeader |
| string | https://pkg.go.dev/builtin#string |
| PatchIdentity | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/patch_header.go#L71 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| ParsePatchIdentity | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/patch_header.go#L90 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#ParsePatchIdentity |
| string | https://pkg.go.dev/builtin#string |
| PatchIdentity | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity |
| error | https://pkg.go.dev/builtin#error |
| String | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/patch_header.go#L76 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity.String |
| PatchIdentity | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#PatchIdentity |
| string | https://pkg.go.dev/builtin#string |
| TextFragment | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L45 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment |
| string | https://pkg.go.dev/builtin#string |
| int64 | https://pkg.go.dev/builtin#int64 |
| int64 | https://pkg.go.dev/builtin#int64 |
| int64 | https://pkg.go.dev/builtin#int64 |
| int64 | https://pkg.go.dev/builtin#int64 |
| int64 | https://pkg.go.dev/builtin#int64 |
| int64 | https://pkg.go.dev/builtin#int64 |
| int64 | https://pkg.go.dev/builtin#int64 |
| int64 | https://pkg.go.dev/builtin#int64 |
| Line | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#Line |
| Header | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L74 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment.Header |
| TextFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment |
| string | https://pkg.go.dev/builtin#string |
| Raw | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L63 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment.Raw |
| TextFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment |
| LineOp | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#LineOp |
| string | https://pkg.go.dev/builtin#string |
| Validate | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go#L80 |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment.Validate |
| TextFragment | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#TextFragment |
| error | https://pkg.go.dev/builtin#error |
| ¶ | https://pkg.go.dev/github.com/gitleaks/go-gitdiff/gitdiff#section-sourcefiles |
| View all Source files | https://github.com/gitleaks/go-gitdiff/tree/v0.9.1/gitdiff |
| apply.go | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/apply.go |
| base85.go | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/base85.go |
| binary.go | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/binary.go |
| file_header.go | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/file_header.go |
| gitdiff.go | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/gitdiff.go |
| io.go | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/io.go |
| parser.go | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/parser.go |
| patch_header.go | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/patch_header.go |
| text.go | https://github.com/gitleaks/go-gitdiff/blob/v0.9.1/gitdiff/text.go |
|
Why Go
| https://go.dev/solutions |
|
Use Cases
| https://go.dev/solutions/use-cases |
|
Case Studies
| https://go.dev/solutions/case-studies |
|
Get Started
| https://learn.go.dev/ |
|
Playground
| https://play.golang.org |
|
Tour
| https://tour.golang.org |
|
Stack Overflow
| https://stackoverflow.com/questions/tagged/go?tab=Newest |
|
Help
| https://go.dev/help |
|
Packages
| https://pkg.go.dev |
|
Standard Library
| https://pkg.go.dev/std |
|
Sub-repositories
| https://pkg.go.dev/golang.org/x |
|
About Go Packages
| https://pkg.go.dev/about |
|
pkg.go.dev API
| https://pkg.go.dev/api |
|
About
| https://go.dev/project |
| Download | https://go.dev/dl/ |
| Blog | https://go.dev/blog |
|
Issue Tracker
| https://github.com/golang/go/issues |
|
Release Notes
| https://go.dev/doc/devel/release.html |
|
Brand Guidelines
| https://go.dev/brand |
|
Code of Conduct
| https://go.dev/conduct |
|
Connect
| https://www.twitter.com/golang |
|
Twitter
| https://www.twitter.com/golang |
| GitHub | https://github.com/golang |
|
Slack
| https://invite.slack.golangbridge.org/ |
|
r/golang
| https://reddit.com/r/golang |
|
Meetup
| https://www.meetup.com/pro/go |
|
Golang Weekly
| https://golangweekly.com/ |
| Copyright | https://go.dev/copyright |
| Terms of Service | https://go.dev/tos |
|
Privacy Policy
| http://www.google.com/intl/en/policies/privacy/ |
|
Report an Issue
| https://go.dev/s/pkgsite-feedback |
|
| https://google.com |
| Learn more. | https://policies.google.com/technologies/cookies |