type github.com/evanw/esbuild/internal/resolver.PathPair
30 uses
github.com/evanw/esbuild/internal/resolver (current package)
resolver.go#L61: type PathPair struct {
resolver.go#L68: func (pp *PathPair) iter() []*logger.Path {
resolver.go#L76: func (pp *PathPair) HasSecondary() bool {
resolver.go#L89: PathPair PathPair
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#L288: result := &ResolveResult{PathPair: PathPair{Primary: logger.Path{Text: absPath, Namespace: "file"}}}
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#L507: return &ResolveResult{PathPair: PathPair{Primary: logger.Path{Text: importPath, Flags: logger.PathDisabled}}, DifferentCase: diffCase}
resolver.go#L552: func (r *resolver) resolveWithoutRemapping(sourceDirInfo *dirInfo, importPath string, kind ast.ImportKind) (PathPair, bool, *fs.DifferentCase) {
resolver.go#L1186: func (r *resolver) loadAsFileOrDirectory(path string, kind ast.ImportKind) (PathPair, bool, *fs.DifferentCase) {
resolver.go#L1196: return PathPair{Primary: logger.Path{Text: absolute, Namespace: "file"}}, true, diffCase
resolver.go#L1202: return PathPair{}, false, nil
resolver.go#L1244: return PathPair{
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#L1265: return PathPair{}, false, nil
resolver.go#L1270: func (r *resolver) matchTSConfigPaths(tsConfigJSON *TSConfigJSON, path string, kind ast.ImportKind) (PathPair, bool, *fs.DifferentCase) {
resolver.go#L1293: return PathPair{}, false, nil
resolver.go#L1348: return PathPair{}, false, nil
resolver.go#L1351: func (r *resolver) loadNodeModules(path string, kind ast.ImportKind, dirInfo *dirInfo) (PathPair, bool, *fs.DifferentCase) {
resolver.go#L1391: return PathPair{Primary: logger.Path{Text: absPath, Namespace: "file", Flags: logger.PathDisabled}}, true, nil
resolver.go#L1411: return PathPair{}, false, nil
github.com/evanw/esbuild/internal/bundler
bundler.go#L698: PathPair: resolver.PathPair{Primary: result.Path},
bundler.go#L1146: resolveResult := resolver.ResolveResult{PathPair: resolver.PathPair{Primary: stdinPath}}
 |
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. |