MCPcopy
hub / github.com/kopia/kopia / newSourceManager

Function newSourceManager

internal/server/source_manager.go:595–607  ·  view source on GitHub ↗
(src snapshot.SourceInfo, server *Server, rep repo.Repository)

Source from the content-addressed store, hash-verified

593}
594
595func newSourceManager(src snapshot.SourceInfo, server *Server, rep repo.Repository) *sourceManager {
596 m := &sourceManager{
597 src: src,
598 rep: rep,
599 server: server,
600 state: "UNKNOWN",
601 closed: make(chan struct{}),
602 snapshotRequests: make(chan struct{}, 1),
603 progress: &upload.CountingUploadProgress{},
604 }
605
606 return m
607}

Callers 2

syncSourcesLockedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected