MCPcopy
hub / github.com/esm-dev/esm.sh / SetConfig

Method SetConfig

internal/importmap/importmap.go:146–148  ·  view source on GitHub ↗

SetConfig sets the config of the import map.

(config Config)

Source from the content-addressed store, hash-verified

144
145// SetConfig sets the config of the import map.
146func (im *ImportMap) SetConfig(config Config) {
147 im.config = config
148}
149
150// Integrity returns the integrity of the import map.
151func (im *ImportMap) Integrity() *Imports {

Callers 1

tidyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected