github.com/gobuffalo/buffalo-cli/v2@v2.0.0-alpha.15.0.20200919213536-a7350c8e6799/cli/cmds/build/buildtest/pack_filer.go (about)

     1  package buildtest
     2  
     3  import "context"
     4  
     5  type PackFiler func(ctx context.Context, root string) ([]string, error)
     6  
     7  func (PackFiler) PluginName() string {
     8  	return "buildtest/packfiler"
     9  }
    10  
    11  func (p PackFiler) PackageFiles(ctx context.Context, root string) ([]string, error) {
    12  	return p(ctx, root)
    13  }