diff

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyPatch

func ApplyPatch(fs billy.Filesystem, patchPath, destDir string) error

ApplyPatch applies a patch file located at patchPath to the destDir on the filesystem

func GeneratePatch

func GeneratePatch(fs billy.Filesystem, patchPath, srcPath, dstPath string) (bool, error)

GeneratePatch generates the patch between the files at srcPath and dstPath and outputs it to patchPath It returns whether the patch was generated or any errors that were encountered

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL