MCPcopy
hub / github.com/tdewolff/minify / MinifierFunc

FuncType MinifierFunc

minify.go:36–36  ·  view source on GitHub ↗

TODO: DEPRECATED, remove MinifierFunc is a function that implements Minifer.

func(*M, io.Writer, io.Reader, map[string]string) error

Source from the content-addressed store, hash-verified

34
35// MinifierFunc is a function that implements Minifer.
36type MinifierFunc func(*M, io.Writer, io.Reader, map[string]string) error
37
38// Minify calls f(m, w, r, params)
39func (f MinifierFunc) Minify(m *M, w io.Writer, r io.Reader, params map[string]string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…