Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPatch ¶
ApplyPatch applies a patch file located at patchPath to the destDir on the filesystem
func GeneratePatch ¶
func GeneratePatch(ctx context.Context, 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.
Click to show internal directories.
Click to hide internal directories.