MCPcopy Create free account
hub / github.com/alecthomas/devtodo2 / fromMarshalableTaskList

Function fromMarshalableTaskList

jsonio.go:97–102  ·  view source on GitHub ↗
(l *marshalableTaskList)

Source from the content-addressed store, hash-verified

95}
96
97func fromMarshalableTaskList(l *marshalableTaskList) TaskList {
98 tasks := NewTaskList()
99 tasks.SetTitle(l.Title)
100 fromMarshalableTask(tasks, l.Tasks)
101 return tasks
102}
103
104func fromMarshalableTask(node TaskNode, t []*marshalableTask) {
105 for _, j := range t {

Callers 1

DeserializeMethod · 0.85

Calls 3

SetTitleMethod · 0.95
NewTaskListFunction · 0.85
fromMarshalableTaskFunction · 0.85

Tested by

no test coverage detected