change

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyChanges

func ApplyChanges(fs billy.Filesystem, toDir, gcRootDir string) error

ApplyChanges applies the changes from the gcOverlayDirpath, gcExcludeDirpath, and gcPatchDirpath within gcDir to toDir within the package filesystem

func DoesNotModifyContentsAtLevel

func DoesNotModifyContentsAtLevel(rootFs billy.Filesystem, oldDir, newDir string, level int) error

DoesNotModifyContentsAtLevel compare hashed contents of oldDir and newDir at a particular directory level and returns an error if directories are modified at that level If the directories provided are not available on the repository or do not go down that many subdirectories, it returns no error

func GenerateChanges

func GenerateChanges(fs billy.Filesystem, fromDir, toDir, gcRootDir string) error

GenerateChanges generates the change between fromDir and toDir and places it in the appropriate directories within gcDir

Types

This section is empty.

Jump to

Keyboard shortcuts

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