Codebase list golang-golang-x-mod / d295347
Update upstream source from tag 'upstream/0.10.0' Update to upstream version '0.10.0' with Debian dir 279dfff12361e6df80d975ccf7b809d10994c01a Anthony Fok 10 months ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
662662 if n == "" {
663663 continue
664664 }
665 n = strings.TrimPrefix(n, string(filepath.Separator))
665 n = strings.TrimPrefix(n, "/")
666666
667667 fs = append(fs, zipFile{
668668 name: n,
15311531 }
15321532 wantMap := map[string]bool{}
15331533 for _, f := range tc.wantFiles {
1534 p := filepath.Join("example.com", "foo", "bar@v0.0.1", f)
1534 p := path.Join("example.com", "foo", "bar@v0.0.1", f)
15351535 wantMap[p] = true
15361536 }
15371537