chopper

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleaveSplits

func CleaveSplits(log *zap.Logger, fc filecache.FileCache, sp *config.Splits) error

CleaveSplits will create the content of the configured splits in their respective working directories. This includes the rewriting of import paths where needed.

The prequisites on the fields of a config.Splits object for CleaveSplits to be able to operate are:

  • PathToSplit and PkgToSplit have been populated.
  • WorkTree has been populated and the path in question is an existing directory.
  • For each config.Split in Splits the Name, Files, Residuals and ResidualFiles fields have been populated.
  • For each config.Split in Splits the WorkDir field is populated and corrresponds to an existing directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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