github.com/evanw/esbuild/internal/resolver.PathPair.Primary (field)
30 uses
github.com/evanw/esbuild/internal/resolver (current package)
resolver.go#L64: Primary logger.Path
resolver.go#L69: result := []*logger.Path{&pp.Primary, &pp.Secondary}
resolver.go#L220: PathPair: PathPair{Primary: logger.Path{Text: importPath}},
resolver.go#L230: PathPair: PathPair{Primary: logger.Path{Text: importPath, Namespace: "dataurl"}},
resolver.go#L236: PathPair: PathPair{Primary: logger.Path{Text: importPath}},
resolver.go#L261: result.PathPair.Primary.IgnoredSuffix = importPath[suffix:]
resolver.go#L288: result := &ResolveResult{PathPair: PathPair{Primary: logger.Path{Text: absPath, Namespace: "file"}}}
resolver.go#L341: if *path == result.PathPair.Primary {
resolver.go#L368: if path == &result.PathPair.Primary && dirInfo.tsConfigJSON != nil {
resolver.go#L418: return &ResolveResult{PathPair: PathPair{Primary: logger.Path{Text: importPath}}, IsExternal: true}
resolver.go#L439: return &ResolveResult{PathPair: PathPair{Primary: logger.Path{Text: absPath, Namespace: "file"}}, IsExternal: true}
resolver.go#L448: return &ResolveResult{PathPair: PathPair{Primary: logger.Path{Text: absPath, Namespace: "file", Flags: logger.PathDisabled}}}
resolver.go#L474: return &ResolveResult{PathPair: PathPair{Primary: logger.Path{Text: importPath}}, IsExternal: true}
resolver.go#L501: absolute.Primary = logger.Path{Text: absolute.Primary.Text, Namespace: "file", Flags: logger.PathDisabled}
resolver.go#L507: return &ResolveResult{PathPair: PathPair{Primary: logger.Path{Text: importPath, Flags: logger.PathDisabled}}, DifferentCase: diffCase}
resolver.go#L540: *path = remappedResult.Primary
resolver.go#L1196: return PathPair{Primary: logger.Path{Text: absolute, Namespace: "file"}}, true, diffCase
resolver.go#L1246: Primary: logger.Path{Text: absolute, Namespace: "file"},
resolver.go#L1250: return PathPair{Primary: logger.Path{Text: absoluteMain, Namespace: "file"}}, true, nil
resolver.go#L1255: return PathPair{Primary: logger.Path{Text: absolute, Namespace: "file"}}, true, nil
resolver.go#L1262: return PathPair{Primary: logger.Path{Text: *dirInfo.absPathIndex, Namespace: "file"}}, true, nil
resolver.go#L1391: return PathPair{Primary: logger.Path{Text: absPath, Namespace: "file", Flags: logger.PathDisabled}}, true, nil
github.com/evanw/esbuild/internal/bundler
bundler.go#L459: hint = fmt.Sprintf(" (use %q to reference the file %q)", "./"+record.Path.Text, args.res.PrettyPath(query.PathPair.Primary))
bundler.go#L698: PathPair: resolver.PathPair{Primary: result.Path},
bundler.go#L943: path := resolveResult.PathPair.Primary
bundler.go#L1146: resolveResult := resolver.ResolveResult{PathPair: resolver.PathPair{Primary: stdinPath}}
bundler.go#L1208: hint = fmt.Sprintf(" (use %q to reference the file %q)", "./"+path, s.res.PrettyPath(query.PathPair.Primary))
bundler.go#L1222: prettyPath := s.res.PrettyPath(resolveResult.PathPair.Primary)
bundler.go#L1257: path := resolveResult.PathPair.Primary
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |