Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dnote/dnote
/ NewSync
Function
NewSync
pkg/server/controllers/sync.go:36–40 ·
view source on GitHub ↗
NewSync creates a new Sync controller
(app *app.App)
Source
from the content-addressed store, hash-verified
34
35
// NewSync creates a new Sync controller
36
func
NewSync(app *app.App) *Sync {
37
return
&Sync{
38
app: app,
39
}
40
}
41
42
// Sync is a sync controller.
43
type
Sync
struct
{
Callers
1
New
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected