buf: github.com/bufbuild/buf/internal/pkg/diff Index | Files

package diff

import "github.com/bufbuild/buf/internal/pkg/diff"

Package diff implements diffing.

Should primarily be used for testing.

Copied from https://github.com/golang/go/blob/master/src/cmd/gofmt/gofmt.go

Copyright 2009 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.



Package Files


func Do Uses

func Do(b1, b2 []byte, filename string) ([]byte, error)

Do does a diff.

Package diff imports 7 packages (graph). Updated 2019-12-15. Refresh now. Tools for package owners.