MCPcopy Create free account
hub / github.com/DAddYE/igo / MergeLine

Method MergeLine

token/position.go:144–160  ·  view source on GitHub ↗

MergeLine merges a line with the following line. It is akin to replacing the newline character at the end of the line with a space (to not change the remaining offsets). To obtain the line number, consult e.g. Position.Line. MergeLine will panic if given an invalid line number.

(line int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

SortImportsFunction · 0.80
sortSpecsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected