MCPcopy Index your code
hub / github.com/kopia/kopia / start

Method start

internal/server/source_manager.go:155–159  ·  view source on GitHub ↗
(ctx context.Context, isLocal bool)

Source from the content-addressed store, hash-verified

153}
154
155func (s *sourceManager) start(ctx context.Context, isLocal bool) {
156 s.refreshStatus(ctx)
157
158 go s.run(ctx, isLocal)
159}
160
161func (s *sourceManager) run(ctx context.Context, isLocal bool) {
162 // make sure we run in a detached context, which ignores outside cancellation and deadline.

Callers 2

syncSourcesLockedMethod · 0.45

Calls 2

refreshStatusMethod · 0.95
runMethod · 0.95

Tested by

no test coverage detected