Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ CreateTaskData
Function
CreateTaskData
internal/db/tasks.go:21–23 ·
view source on GitHub ↗
(t *model.TaskItem)
Source
from the content-addressed store, hash-verified
19
}
20
21
func
CreateTaskData(t *model.TaskItem) error {
22
return
errors.WithStack(db.Create(t).Error)
23
}
24
25
func
GetTaskDataFunc(type_s string, enabled bool)
func
() ([]byte, error) {
26
if
!enabled {
Callers
1
initTasks
Function · 0.92
Calls
1
Create
Method · 0.65
Tested by
no test coverage detected