this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add Apply convenience function to match Parse (#5)

authored by

Billy Keyes and committed by
GitHub
c2035ade 34ea1730

+6
+6
gitdiff/apply.go
··· 98 98 applyFile 99 99 ) 100 100 101 + // Apply is a convenience function that creates an Applier for src with default 102 + // settings and applies the changes in f, writing the result to dst. 103 + func Apply(dst io.Writer, src io.ReaderAt, f *File) error { 104 + return NewApplier(src).ApplyFile(dst, f) 105 + } 106 + 101 107 // Applier applies changes described in fragments to source data. If changes 102 108 // are described in multiple fragments, those fragments must be applied in 103 109 // order, usually by calling ApplyFile.