MCPcopy Create free account
hub / github.com/brimdata/super / fcbError

Function fcbError

mdtest/mdtest.go:279–281  ·  view source on GitHub ↗
(fcb *ast.FencedCodeBlock, source []byte, msg string)

Source from the content-addressed store, hash-verified

277}
278
279func fcbError(fcb *ast.FencedCodeBlock, source []byte, msg string) error {
280 return lineError{line: fcbLineNumber(fcb, source), msg: msg}
281}
282
283func fcbInfoWords(fcb *ast.FencedCodeBlock, source []byte) []string {
284 return strings.Fields(string(fcb.Info.Segment.Value(source)))

Callers 1

parseMarkdownFunction · 0.85

Calls 1

fcbLineNumberFunction · 0.85

Tested by

no test coverage detected