Versions in this module Expand all Collapse all v0 v0.1.0 Jul 30, 2024 Changes in this version + const BASE_PLACEHOLDER + const EXT_PLACEHOLDER + const INPUT_PLACEHOLDER + const OUTPUT_PLACEHOLDER + var ErrNoOutputFile = fmt.Errorf("no target output file exists") + func Transformer(tc *transform.TransformerContext) (changed bool, err error) + type ExecutorOptions struct + Binary string + BinaryArgs []string + ContentsFunc func(input []byte, options url.Values, logger transform.Logger) (output []byte, changed bool, err error) + Ext []string + Func func(inputFile, outputFile string, options url.Values, logger transform.Logger) (changed bool, err error) + Hardlink bool + MaxSize int64 + MinSize int64 + NewExt string + OnError func(combinedOutput []byte, ierr error, logger transform.Logger) (newArgs []string, err error) + Output string + RenameAdditionalSuffixes []string + Test func(path string) bool + func (options *ExecutorOptions) Transformer(tc *transform.TransformerContext) (changed bool, err error)