MCPcopy
hub / github.com/vitejs/vite / getAttrKey

Function getAttrKey

packages/vite/src/node/assetSource.ts:187–189  ·  view source on GitHub ↗
(attr: Token.Attribute)

Source from the content-addressed store, hash-verified

185}
186
187function getAttrKey(attr: Token.Attribute): string {
188 return attr.prefix === undefined ? attr.name : `${attr.prefix}:${attr.name}`
189}

Callers 1

getNodeAssetAttributesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected