MCPcopy
hub / github.com/BishopFox/jsluice / DecodedString

Method DecodedString

tree.go:213–215  ·  view source on GitHub ↗

DecodedString returns a fully decoded version of a JavaScript string. It is just a convenience wrapper around the DecodeString function.

()

Source from the content-addressed store, hash-verified

211// JavaScript string. It is just a convenience wrapper
212// around the DecodeString function.
213func (n *Node) DecodedString() string {
214 return DecodeString(n.Content())
215}
216
217// AsGoType returns a representation of a Node as a native
218// Go type, defaulting to a string containing the JavaScript

Callers 3

AsGoTypeMethod · 0.95
mainFunction · 0.80
mainFunction · 0.80

Calls 2

ContentMethod · 0.95
DecodeStringFunction · 0.85

Tested by

no test coverage detected