MCPcopy Create free account
hub / github.com/VKCOM/nocc / AddIncludeResolve

Method AddIncludeResolve

internal/client/includes-cache.go:52–56  ·  view source on GitHub ↗
(quotedArg string, hFileName string)

Source from the content-addressed store, hash-verified

50}
51
52func (incCache *IncludesCache) AddIncludeResolve(quotedArg string, hFileName string) {
53 incCache.mu.Lock()
54 incCache.includesResolve[quotedArg] = hFileName
55 incCache.mu.Unlock()
56}
57
58func (incCache *IncludesCache) GetHFileInfo(hFileName string) (hFileCached *includeCachedHFile, exists bool) {
59 incCache.mu.RLock()

Callers 1

resolveIncludedArgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected