(src snapshot.SourceInfo, server *Server, rep repo.Repository)
| 593 | } |
| 594 | |
| 595 | func 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 | } |
no outgoing calls
no test coverage detected