github.com/evanw/esbuild/internal/logger.Path.Namespace (field)
75 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L137: Namespace string
logger.go#L160: return a.Namespace > b.Namespace ||
logger.go#L161: (a.Namespace == b.Namespace && (a.Text < b.Text ||
github.com/evanw/esbuild/internal/bundler
bundler.go#L356: if source.KeyPath.Namespace == "file" && ext != "" {
bundler.go#L540: path := logger.Path{Text: absPath, Namespace: "file"}
bundler.go#L564: loc.File = res.PrettyPath(logger.Path{Text: loc.File, Namespace: loc.Namespace})
bundler.go#L646: applyPath.Namespace = importSource.KeyPath.Namespace
bundler.go#L671: nsFromPlugin := result.Path.Namespace
bundler.go#L672: if result.Path.Namespace == "" && !result.External {
bundler.go#L673: result.Path.Namespace = "file"
bundler.go#L686: if result.Path.Namespace == "file" && !fs.IsAbs(result.Path.Text) {
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#L763: if isWatchMode && source.KeyPath.Namespace == "file" {
bundler.go#L779: if result.AbsResolveDir == "" && source.KeyPath.Namespace == "file" {
bundler.go#L782: if isWatchMode && source.KeyPath.Namespace == "file" {
bundler.go#L800: if source.KeyPath.Namespace == "file" {
bundler.go#L820: if source.KeyPath.Namespace == "dataurl" {
bundler.go#L945: if visitedKey.Namespace == "file" {
bundler.go#L994: if path.Namespace == "dataurl" {
bundler.go#L1095: prettyPath := s.res.PrettyPath(logger.Path{Text: absPath, Namespace: "file"})
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#L1266: if path.Namespace == "file" {
bundler.go#L1327: if secondaryKey.Namespace == "file" {
bundler.go#L1384: if stubKey.Namespace == "file" {
bundler.go#L1567: if keyPath.Namespace == "file" {
bundler.go#L1706: if keyPath.Namespace == "file" {
bundler.go#L1782: path := b.res.PrettyPath(logger.Path{Text: result.AbsPath, Namespace: "file"})
linker.go#L1123: record.Path.Namespace = ""
linker.go#L2737: if source.KeyPath.Namespace != "file" {
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#L4486: Namespace: file.source.KeyPath.Namespace,
linker.go#L4492: if path.Namespace == "file" {
linker.go#L4518: if item.path.Namespace == "file" {
linker.go#L4607: if file.source.KeyPath.Namespace == "file" {
linker.go#L4620: binary.LittleEndian.PutUint32(lengthBytes[:], uint32(len(file.source.KeyPath.Namespace)))
linker.go#L4622: hash.Write([]byte(file.source.KeyPath.Namespace))
github.com/evanw/esbuild/internal/config
config.go#L398: return (namespace == "" || path.Namespace == namespace) && filter.MatchString(path.Text)
github.com/evanw/esbuild/internal/resolver
resolver.go#L230: PathPair: PathPair{Primary: logger.Path{Text: importPath, Namespace: "dataurl"}},
resolver.go#L288: result := &ResolveResult{PathPair: PathPair{Primary: logger.Path{Text: absPath, Namespace: "file"}}}
resolver.go#L328: if path.Namespace == "file" {
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#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#L561: if path.Namespace == "file" {
resolver.go#L572: } else if path.Namespace != "" {
resolver.go#L573: path.Text = fmt.Sprintf("%s:%s", path.Namespace, path.Text)
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/pkg/api
api_impl.go#L946: prettyPath := w.resolver.PrettyPath(logger.Path{Text: absPath, Namespace: "file"})
api_impl.go#L1207: Namespace: args.Importer.Namespace,
api_impl.go#L1219: result.Path = logger.Path{Text: response.Path, Namespace: response.Namespace}
api_impl.go#L1249: Namespace: args.Path.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. |