()
| 1046 | } |
| 1047 | |
| 1048 | func init() { |
| 1049 | encoding.PrettyPrintJSONValueEncoded = func(b []byte) (string, error) { |
| 1050 | rem, j, err := DecodeJSON(b) |
| 1051 | if err != nil { |
| 1052 | return "", err |
| 1053 | } |
| 1054 | if len(rem) != 0 { |
| 1055 | return "", errors.Newf("unexpected remainder after decoding JSON: %v", rem) |
| 1056 | } |
| 1057 | return j.String(), nil |
| 1058 | } |
| 1059 | } |
| 1060 | |
| 1061 | // EncodeInvertedIndexKeys takes in a key prefix and returns a slice of inverted index keys, |
| 1062 | // one per unique path through the receiver. |
nothing calls this directly
no test coverage detected
searching dependent graphs…