type github.com/evanw/esbuild/internal/logger.Path
92 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L135: type Path struct {
logger.go#L155: func (p Path) IsDisabled() bool {
logger.go#L159: func (a Path) ComesBeforeInSortedOrder(b Path) bool {
logger.go#L211: KeyPath Path
github.com/evanw/esbuild/internal/ast
ast.go#L61: Path logger.Path
github.com/evanw/esbuild/internal/bundler
bundler.go#L133: keyPath logger.Path
bundler.go#L526: ) (logger.Path, *string) {
bundler.go#L530: return logger.Path{Text: source.PrettyPath, IgnoredSuffix: "#sourceMappingURL"}, &contents
bundler.go#L533: return logger.Path{}, nil
bundler.go#L540: path := logger.Path{Text: absPath, Namespace: "file"}
bundler.go#L545: return logger.Path{}, nil
bundler.go#L548: return logger.Path{}, nil
bundler.go#L555: return logger.Path{}, nil
bundler.go#L564: loc.File = res.PrettyPath(logger.Path{Text: loc.File, Namespace: loc.Namespace})
bundler.go#L643: applyPath := logger.Path{Text: path}
bundler.go#L679: result.Path = logger.Path{Text: path}
bundler.go#L715: res.PrettyPath(logger.Path{Text: fs.Join(diffCase.Dir, diffCase.Actual), Namespace: "file"}),
bundler.go#L716: res.PrettyPath(logger.Path{Text: fs.Join(diffCase.Dir, diffCase.Query), Namespace: "file"}),
bundler.go#L885: visited map[logger.Path]uint32
bundler.go#L900: visited: make(map[logger.Path]uint32),
bundler.go#L1026: func (s *scanner) allocateSourceIndex(path logger.Path, kind cache.SourceIndexKind) uint32 {
bundler.go#L1055: visitedKey := logger.Path{Text: fmt.Sprintf("", define.Name)}
bundler.go#L1095: prettyPath := s.res.PrettyPath(logger.Path{Text: absPath, Namespace: "file"})
bundler.go#L1136: stdinPath := logger.Path{Text: ""}
bundler.go#L1139: stdinPath = logger.Path{Text: stdin.SourceFile}
bundler.go#L1141: stdinPath = logger.Path{Text: stdin.SourceFile, Namespace: "file"}
bundler.go#L1143: stdinPath = logger.Path{Text: s.fs.Join(stdin.AbsResolveDir, stdin.SourceFile), Namespace: "file"}
bundler.go#L1782: path := b.res.PrettyPath(logger.Path{Text: result.AbsPath, Namespace: "file"})
linker.go#L743: Path: logger.Path{Text: c.pathBetweenChunks(chunk.relDir, relPath)},
linker.go#L1070: keyPath logger.Path
linker.go#L2855: path logger.Path
linker.go#L3797: js_printer.QuoteForJSON(c.res.PrettyPath(logger.Path{Text: importAbsPath, Namespace: "file"}), c.options.ASCIIOnly),
linker.go#L4234: js_printer.QuoteForJSON(c.res.PrettyPath(logger.Path{Text: importAbsPath, Namespace: "file"}), c.options.ASCIIOnly),
linker.go#L4454: path logger.Path
linker.go#L4485: path := logger.Path{
github.com/evanw/esbuild/internal/cache
cache.go#L52: entries: make(map[logger.Path]*cssCacheEntry),
cache.go#L55: entries: make(map[logger.Path]*jsonCacheEntry),
cache.go#L58: entries: make(map[logger.Path]*jsCacheEntry),
cache.go#L77: path logger.Path
cache.go#L90: func (c *SourceIndexCache) Get(path logger.Path, kind SourceIndexKind) uint32 {
cache_ast.go#L31: entries map[logger.Path]*cssCacheEntry
cache_ast.go#L85: entries map[logger.Path]*jsonCacheEntry
cache_ast.go#L141: entries map[logger.Path]*jsCacheEntry
github.com/evanw/esbuild/internal/config
config.go#L397: func PluginAppliesToPath(path logger.Path, filter *regexp.Regexp, namespace string) bool {
config.go#L419: Importer logger.Path
config.go#L428: Path logger.Path
config.go#L444: Path logger.Path
github.com/evanw/esbuild/internal/css_parser
css_parser.go#L344: Path: logger.Path{Text: path},
css_parser.go#L604: Path: logger.Path{Text: token.Text},
css_parser.go#L629: Path: logger.Path{Text: nested[0].Text},
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L6147: Path: logger.Path{Text: text},
github.com/evanw/esbuild/internal/resolver
resolver.go#L64: Primary logger.Path
resolver.go#L65: Secondary logger.Path
resolver.go#L68: func (pp *PathPair) iter() []*logger.Path {
resolver.go#L69: result := []*logger.Path{&pp.Primary, &pp.Secondary}
resolver.go#L117: PrettyPath(path logger.Path) string
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#L501: absolute.Primary = logger.Path{Text: absolute.Primary.Text, Namespace: "file", Flags: logger.PathDisabled}
resolver.go#L503: absolute.Secondary = logger.Path{Text: absolute.Secondary.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#L560: func (r *resolver) PrettyPath(path logger.Path) string {
resolver.go#L688: keyPath := logger.Path{Text: file, Namespace: "file"}
resolver.go#L721: r.PrettyPath(logger.Path{Text: fileToCheck, Namespace: "file"}), err.Error()))
resolver.go#L752: r.PrettyPath(logger.Path{Text: fileToCheck, Namespace: "file"}), err.Error()))
resolver.go#L808: r.PrettyPath(logger.Path{Text: path, Namespace: "file"}), err.Error()))
resolver.go#L871: r.PrettyPath(logger.Path{Text: tsConfigPath, Namespace: "file"})))
resolver.go#L875: r.PrettyPath(logger.Path{Text: tsConfigPath, Namespace: "file"}), err.Error()))
resolver.go#L900: r.PrettyPath(logger.Path{Text: packageJsonPath, Namespace: "file"}), err.Error()))
resolver.go#L904: keyPath := logger.Path{Text: packageJsonPath, Namespace: "file"}
resolver.go#L931: r.PrettyPath(logger.Path{Text: pathText, Namespace: "file"}), err.Error()))
resolver.go#L1097: r.PrettyPath(logger.Path{Text: dirPath, Namespace: "file"}), err.Error()))
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#L1247: Secondary: logger.Path{Text: absoluteMain, 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/runtime
runtime.go#L217: KeyPath: logger.Path{Text: ""},
runtime.go#L225: KeyPath: logger.Path{Text: ""},
github.com/evanw/esbuild/pkg/api
api_impl.go#L298: KeyPath: logger.Path{Text: "(global path)"},
api_impl.go#L946: prettyPath := w.resolver.PrettyPath(logger.Path{Text: absPath, Namespace: "file"})
api_impl.go#L1050: KeyPath: logger.Path{Text: "tsconfig.json"},
api_impl.go#L1219: result.Path = logger.Path{Text: response.Path, Namespace: response.Namespace}
 |
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. |