Documentation ¶
Index ¶
- func Changes(ctx context.Context, appendMount func(path string), withPaths []string, ...) error
- func Diff(ctx context.Context, appendMount func(path string), withPaths []string, ...) error
- func GetOverlayLayers(m mount.Mount) ([]string, error)
- func GetUpperdir(lower, upper []mount.Mount) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Changes ¶
func Changes(ctx context.Context, appendMount func(path string), withPaths []string, withoutPaths []string, changeFn fs.ChangeFunc, upperdir, upperdirView, base string) error
Changes is continuty's `fs.Change`-like method but leverages overlayfs's "upperdir" for computing the diff. "upperdirView" is overlayfs mounted view of the upperdir that doesn't contain whiteouts. This is used for computing changes under opaque directories.
func GetOverlayLayers ¶
GetOverlayLayers returns all layer directories of an overlayfs mount.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.