processor

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDestinationIgnorePaths added in v0.0.7

func WithDestinationIgnorePaths(destinationIgnorePaths []string) func(tp *FileTreeProcessor)

func WithSourceIgnorePaths added in v0.0.7

func WithSourceIgnorePaths(sourceIgnorePaths []string) func(tp *FileTreeProcessor)

func WithTemplateService

func WithTemplateService(ts templateprovider.TemplateService) func(tp *FileTreeProcessor)

Types

type FileTreeProcessor

type FileTreeProcessor struct {
	// contains filtered or unexported fields
}

func NewFileTreeProcessor

func NewFileTreeProcessor(sourcePath, destinationPathRoot string, options ...func(*FileTreeProcessor)) *FileTreeProcessor

func (*FileTreeProcessor) Cleanup

func (tp *FileTreeProcessor) Cleanup() error

func (*FileTreeProcessor) Render

func (tp *FileTreeProcessor) Render(withVariables map[string]interface{}) error

func (*FileTreeProcessor) WorkingDir

func (tp *FileTreeProcessor) WorkingDir() string

Jump to

Keyboard shortcuts

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