generic

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 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 Shutdown added in v0.2.0

func Shutdown(options *compactor.Options) error

Shutdown processor

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.

Jump to

Keyboard shortcuts

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