MCPcopy
hub / github.com/nektos/act / Fetch

Method Fetch

pkg/runner/action_cache.go:26–26  ·  view source on GitHub ↗
(ctx context.Context, cacheDir, url, ref, token string)

Source from the content-addressed store, hash-verified

24
25type ActionCache interface {
26 Fetch(ctx context.Context, cacheDir, url, ref, token string) (string, error)
27 GetTarArchive(ctx context.Context, cacheDir, sha, includePrefix string) (io.ReadCloser, error)
28}
29

Callers 5

FetchMethod · 0.65
prepareActionExecutorMethod · 0.65
FetchMethod · 0.65
NewGitCloneExecutorFunction · 0.65

Implementers 4

GoGitActionCachepkg/runner/action_cache.go
GoGitActionCacheOfflineModepkg/runner/action_cache_offline_mode.g
mockCachepkg/runner/runner_test.go
LocalRepositoryCachepkg/runner/local_repository_cache.go

Calls

no outgoing calls

Tested by

no test coverage detected