MCPcopy
hub / github.com/MadAppGang/dingo / SetConfig

Method SetConfig

pkg/lsp/sourcemap_cache.go:55–59  ·  view source on GitHub ↗

SetConfig updates the config used for path calculations

(cfg *config.Config)

Source from the content-addressed store, hash-verified

53
54// SetConfig updates the config used for path calculations
55func (c *SourceMapCache) SetConfig(cfg *config.Config) {
56 c.mu.Lock()
57 defer c.mu.Unlock()
58 c.config = cfg
59}
60
61// Get retrieves a source map from cache or loads it from disk.
62// Path translation: goFilePath (.go) → dingoPath (.dingo) → .dmap/<relPath>.dmap

Callers 1

detectShadowBuildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected