generic

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete added in v0.0.12

func Delete(bundle *compactor.Bundle) error

Delete remove the destination file(s)

func Execute added in v0.0.12

func Execute(bundle *compactor.Bundle) error

Execute create generic copy of file(s) content to destination

func Init added in v0.0.12

func Init(bundle *compactor.Bundle) error

Init processor

func Optimize added in v0.0.12

func Optimize(bundle *compactor.Bundle) 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(item *compactor.Item) ([]compactor.Related, error)

Related detect the dependencies of the file

func Resolve added in v0.0.12

func Resolve(path string) (string, error)

Resolve return the clean bundle destination path for given source file path

Types

This section is empty.

Jump to

Keyboard shortcuts

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