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

Method String

css/hash.go:857–859  ·  view source on GitHub ↗

var HashMap = map[string]Hash{ "-ms-filter": Ms_Filter, "accelerator": Accelerator, "aliceblue": Aliceblue, "align-content": Align_Content, "align-items": Align_Items, "align-self": Align_Self, "all": All, "alpha": Alpha, "animation": Animation, "animation-delay": Animation_Delay, "animat

()

Source from the content-addressed store, hash-verified

855
856// String returns the text associated with the hash.
857func (i Hash) String() string {
858 return string(i.Bytes())
859}
860
861// Bytes returns the text associated with the hash.
862func (i Hash) Bytes() []byte {

Callers 3

TestCSSFunction · 0.45
TestCSSInlineFunction · 0.45
TestCSS2Function · 0.45

Calls 2

BytesMethod · 0.95
stringFunction · 0.50

Tested by 3

TestCSSFunction · 0.36
TestCSSInlineFunction · 0.36
TestCSS2Function · 0.36