MCPcopy Index your code
hub / github.com/celer-pkg/celer / Restore

Method Restore

context/context.go:71–71  ·  view source on GitHub ↗
(nameVersion, repoUrl, repoDir, checksum string)

Source from the content-addressed store, hash-verified

69// RepoCache stores/restores a port's source tree, keyed by name@version + checksum.
70type RepoCache interface {
71 Restore(nameVersion, repoUrl, repoDir, checksum string) (string, error)
72 Store(nameVersion, repoUrl, repoDir, archiveFile string) (string, error)
73}
74

Implementers 3

ArtifactConfigpkgcache/cache_artifact.go
DevArtifactCachepkgcache/cache_dev_artifact.go
RepoConfigpkgcache/cache_repo.go

Calls

no outgoing calls