generic

package
Version: v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init added in v0.0.12

func Init(options *compactor.Options) error

Init processor

func Optimize added in v0.0.12

func Optimize(options *compactor.Options, file *compactor.File) error

Optimize apply optimizations into the destination file

func Plugin added in v0.0.4

func Plugin() *compactor.Plugin

Plugin return the compactor plugin instance

func Related(options *compactor.Options, file *compactor.File) ([]compactor.Related, error)

Related detects the dependencies of the file

func Resolve added in v0.0.12

func Resolve(options *compactor.Options, file *compactor.File) (string, error)

Resolve returns the clean file destination path for given source file

func Transform added in v0.1.0

func Transform(options *compactor.Options, file *compactor.File) error

Transform creates generic copy of file(s) content to destination

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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