MCPcopy Create free account
hub / github.com/github/gh-aw / ClearCurrentRepoSlugCache

Function ClearCurrentRepoSlugCache

pkg/cli/repo_test_helpers_test.go:9–11  ·  view source on GitHub ↗

ClearCurrentRepoSlugCache clears the current repository slug cache. This is useful for testing when repository context might have changed.

()

Source from the content-addressed store, hash-verified

7// ClearCurrentRepoSlugCache clears the current repository slug cache.
8// This is useful for testing when repository context might have changed.
9func ClearCurrentRepoSlugCache() {
10 currentRepoSlugCache = syncutil.OnceLoader[string]{}
11}

Calls

no outgoing calls

Tested by

no test coverage detected