Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WICG/webpackage
/ parseVariants
Function
parseVariants
go/bundle/encoder.go:301–304 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
299
type
Variants [][]string
300
301
func
parseVariants(s string) (Variants, error) {
302
vs, err := parseListOfStringLists(s)
303
return
Variants(vs), err
304
}
305
306
func
(v Variants) numberOfPossibleKeys() (int, error) {
307
n := 1
Callers
3
parseIndexSectionWithVariants
Function · 0.85
entriesInPossibleKeyOrder
Function · 0.85
TestVariants
Function · 0.85
Calls
2
parseListOfStringLists
Function · 0.85
Variants
TypeAlias · 0.85
Tested by
1
TestVariants
Function · 0.68