MCPcopy Create free account
hub / github.com/UiPath/uipathcli / lastLine

Function lastLine

utils/visualization/progress_bar_test.go:170–173  ·  view source on GitHub ↗
(output bytes.Buffer)

Source from the content-addressed store, hash-verified

168}
169
170func lastLine(output bytes.Buffer) string {
171 lines := strings.Split(output.String(), "\r")
172 return lines[len(lines)-1]
173}
174
175func data(length int) io.Reader {
176 data := make([]byte, length)

Calls 1

StringMethod · 0.80

Tested by

no test coverage detected