MCPcopy Create free account
hub / github.com/driangle/taskmd / splitTableColumns

Function splitTableColumns

apps/cli/internal/cli/list_test.go:389–392  ·  view source on GitHub ↗

splitTableColumns splits a table-formatted line into columns. Columns are separated by 2+ spaces.

(line string)

Source from the content-addressed store, hash-verified

387// splitTableColumns splits a table-formatted line into columns.
388// Columns are separated by 2+ spaces.
389func splitTableColumns(line string) []string {
390 parts := strings.Fields(line)
391 return parts
392}
393
394func TestListCommand_LimitFlag(t *testing.T) {
395 tasks := []*model.Task{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected