- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ParseReference (0.14 sec)
-
pkg/wasm/cache.go
} go func() { cache.purge() }() return cache } func moduleNameFromURL(fullURLStr string) string { if strings.HasPrefix(fullURLStr, ociURLPrefix) { if tag, err := name.ParseReference(fullURLStr[len(ociURLPrefix):]); err == nil { // remove tag or sha return ociURLPrefix + tag.Context().Name() } } return fullURLStr }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0)