MCPcopy Create free account

hub / github.com/oxc-project/oxc-resolver / functions

Functions769 in github.com/oxc-project/oxc-resolver

↓ 1 callersMethoddts_resolve_node_modules
( &self, extensions: Extensions, specifier: &str, package_name: &str,
src/dts_resolver.rs:451
↓ 1 callersMethoddts_resolve_package_imports
( &self, cached_path: &CachedPath, specifier: &str, ctx: &mut Ctx, )
src/dts_resolver.rs:725
↓ 1 callersMethoddts_resolve_package_self
( &self, cached_path: &CachedPath, specifier: &str, ctx: &mut Ctx, )
src/dts_resolver.rs:736
↓ 1 callersMethoddts_resolve_tsconfig_paths
(&self, specifier: &str, ctx: &mut Ctx)
src/dts_resolver.rs:693
↓ 1 callersFunctionencode
(meta: Option<FileMetadata>)
src/cache/cached_meta.rs:69
↓ 1 callersMethodentry_kind
(&self)
src/package_json/simd.rs:74
↓ 1 callersMethodesm_file_format
ESM_FILE_FORMAT(url) <https://nodejs.org/docs/latest/api/esm.html#resolution-algorithm-specification>
src/lib.rs:1952
↓ 1 callersMethodexports
(&self)
src/package_json/mod.rs:253
↓ 1 callersMethodextend_tsconfig
(&mut self, tsconfig: &Self)
src/tsconfig.rs:207
↓ 1 callersFunctionfile_system
()
src/tests/dependencies.rs:10
↓ 1 callersFunctionfile_url_to_path
( specifier: &str, hostname: &str, pathname: &str, query_fragment: &str, )
src/file_url.rs:76
↓ 1 callersMethodfind_package_json_impl
Find package.json of a path by traversing parent directories. # Errors [ResolveError::Json]
src/cache/cache_impl.rs:201
↓ 1 callersMethodfind_tsconfig_auto
( &self, cached_path: &CachedPath, )
src/tsconfig_resolver.rs:107
↓ 1 callersMethodfind_tsconfig_impl
Find tsconfig.json of a path by traversing parent directories. # Errors [ResolveError::Json]
src/tsconfig_resolver.rs:96
↓ 1 callersMethodfind_tsconfig_tracing
( &self, cached_path: &CachedPath, )
src/tsconfig_resolver.rs:63
↓ 1 callersMethodfixture_root
(self)
benches/package_managers.rs:124
↓ 1 callersMethodfixture_root_if_installed
(self)
benches/package_managers.rs:128
↓ 1 callersFunctionfoo
()
fixtures/tsconfig/cases/project-references-priority/lib/foo.ts:1
↓ 1 callersFunctionfoo
()
fixtures/tsconfck/parse/solution/referenced-with-implicit-globs/src/foo.ts:1
↓ 1 callersFunctionfoo
()
fixtures/tsconfck/parse/solution/referenced-extends-original/src/foo.ts:1
↓ 1 callersFunctionfoo
()
fixtures/tsconfck/parse/solution/simple/src/foo.ts:1
↓ 1 callersMethodget_extended_configs_with
(&self, path: PathBuf)
src/tsconfig_resolver.rs:29
↓ 1 callersFunctionget_long_path
Gets a normalized absolute path that can bypass path length limits. Based on <https://github.com/rust-lang/rust/blob/1.89.0/library/std/src/sys/path/
src/windows/metadata.rs:66
↓ 1 callersMethodget_yarn_pnp_manifest
( &self, cwd: Option<&Path>, )
src/cache/cache_impl.rs:322
↓ 1 callersMethodhash
(&self, state: &mut H)
src/cache/cached_path.rs:239
↓ 1 callersMethodimports_fields
In addition to the "exports" field, there is a package "imports" field to create private mappings that only apply to import specifiers from within the
src/package_json/mod.rs:326
↓ 1 callersFunctioninit
(dirname: &Path, temp_path: &Path)
src/tests/symlink.rs:43
↓ 1 callersMethodinit_file_dependencies
(&mut self)
src/context.rs:42
↓ 1 callersFunctioninit_tracing
To debug `oxc_resolver`: `OXC_LOG=DEBUG your program`
napi/src/tracing.rs:9
↓ 1 callersFunctioninner
(s: &OsStr)
src/windows/metadata.rs:159
↓ 1 callersMethodintersects
(self, other: Self)
src/dts_resolver.rs:41
↓ 1 callersFunctionisMuslFromChildProcess
()
napi/index.js:54
↓ 1 callersFunctionisMuslFromFilesystem
()
napi/index.js:26
↓ 1 callersFunctionisMuslFromReport
()
napi/index.js:34
↓ 1 callersMethodis_already_extended
(&self, path: &Path)
src/tsconfig_resolver.rs:25
↓ 1 callersMethodis_disabled
(self)
src/options.rs:467
↓ 1 callersMethodis_enabled
(self)
src/options.rs:462
↓ 1 callersMethodis_extensionless_or_uncompiled_js
Whether `path` has no extension (typically a directory) or a `.js`-family extension this tsconfig does not compile (`allowJs` off). Unlike `is_file_ex
src/tsconfig.rs:761
↓ 1 callersMethodis_glob_match
(&self, pattern: &str, path: &Path, path_str: &str)
src/tsconfig.rs:717
↓ 1 callersMethodis_ignore
(&self)
src/error.rs:129
↓ 1 callersMethodis_invalid_exports_target
(&self)
src/path.rs:91
↓ 1 callersMethodload_alias_value
( &self, cached_path: &CachedPath, alias_key: &str, alias_match_kind: &AliasMa
src/alias.rs:196
↓ 1 callersMethodload_extension_alias
Given an extension alias map `{".js": [".ts", ".js"]}`, load the mapping instead of the provided extension This is an enhanced-resolve feature # Err
src/lib.rs:1308
↓ 1 callersMethodload_fixtures
(&mut self)
benches/resolver.rs:532
↓ 1 callersMethodload_node_modules_packages
(&mut self, cwd: &Path)
benches/resolver.rs:577
↓ 1 callersMethodload_package_exports
( &self, specifier: &str, subpath: &str, cached_path: &CachedPath, tsc
src/lib.rs:1157
↓ 1 callersMethodload_parse
enhanced-resolve: ParsePlugin. It's allowed to escape # as \0# to avoid parsing it as fragment. enhanced-resolve will try to resolve requests contain
src/lib.rs:626
↓ 1 callersMethodload_pnp
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: Option<&TsConfig
src/lib.rs:1053
↓ 1 callersMethodload_references
Loads the given references into this tsconfig. Returns whether any references are defined in the tsconfig.
src/tsconfig.rs:195
↓ 1 callersMethodload_roots
enhanced-resolve: RootsPlugin A list of directories where requests of server-relative URLs (starting with '/') are resolved, defaults to context conf
src/lib.rs:1363
↓ 1 callersMethodload_tsconfig_root_dirs
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: &TsConfig,
src/tsconfig_resolver.rs:354
↓ 1 callersFunctionmaybe_verbatim
Returns a UTF-16 encoded path capable of bypassing the legacy `MAX_PATH` limits. This path may or may not have a verbatim prefix. Based on <https://
src/windows/metadata.rs:56
↓ 1 callersMethodmetadata
(&self, path: &Path)
benches/resolver.rs:745
↓ 1 callersMethodmodule_type
(&self)
src/resolution.rs:107
↓ 1 callersMethodnormalize_relative
(&self)
src/path.rs:67
↓ 1 callersMethodnormalize_root
(&self, cache: &Cache)
src/cache/cached_path.rs:210
↓ 1 callersFunctionnormalize_with_impl
Non-generic body of [`PathUtil::normalize_with`]. Kept out of the generic method so it is compiled once instead of once per `AsRef<Path>` argument typ
src/path.rs:103
↓ 1 callersMethodnormalize_with_impl
(&self, subpath: &Path, cache: &Cache)
src/cache/cached_path.rs:188
↓ 1 callersMethodoptions
(&self)
src/lib.rs:212
↓ 1 callersMethodpackage_imports_resolve
PACKAGE_IMPORTS_RESOLVE(specifier, parentURL, conditions)
src/lib.rs:1563
↓ 1 callersMethodpackage_resolve
PACKAGE_RESOLVE(packageSpecifier, parentURL)
src/lib.rs:1394
↓ 1 callersMethodpath
(&self)
src/resolution.rs:64
↓ 1 callersMethodread
(&self, path: &Path)
benches/resolver.rs:708
↓ 1 callersMethodread
(&self, path: &Path)
src/file_system.rs:270
↓ 1 callersMethodread_link
(&self, _path: &Path)
src/tests/memory_fs.rs:86
↓ 1 callersMethodread_to_string
(&self, path: &Path)
src/tests/memory_fs.rs:66
↓ 1 callersMethodreplace_extension
(&self, ext: &str, cache: &Cache)
src/cache/cached_path.rs:164
↓ 1 callersFunctionrequests
(root: &std::path::Path)
benches/package_managers.rs:198
↓ 1 callersFunctionrequireNative
()
napi/index.js:63
↓ 1 callersMethodrequire_absolute
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: Option<&TsConfig
src/lib.rs:522
↓ 1 callersMethodrequire_bare
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: Option<&TsConfig
src/lib.rs:596
↓ 1 callersMethodrequire_hash
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: Option<&TsConfig
src/lib.rs:583
↓ 1 callersMethodresolve
(&self, specifier: &str)
src/tsconfig.rs:829
↓ 1 callersMethodresolve_browser_field
Apply this `package.json`'s `"browser"` field (and any other [`crate::ResolveOptions`] `alias_fields`) to a request or a resolved path. Forward** (`r
src/package_json/mod.rs:365
↓ 1 callersMethodresolve_dts_impl
( &self, containing_file: &Path, specifier: &str, )
src/dts_resolver.rs:98
↓ 1 callersMethodresolve_file_impl
(&self, path: &Path, specifier: &str)
src/lib.rs:270
↓ 1 callersMethodresolve_impl
( &self, path: &Path, specifier: &str, tsconfig: Option<&TsConfig>, ct
src/lib.rs:337
↓ 1 callersMethodresolve_options
(self, fixture_root: &std::path::Path)
benches/package_managers.rs:137
↓ 1 callersMethodresolve_references_then_self_paths
( &self, path: &Path, specifier: &str, )
src/tsconfig.rs:471
↓ 1 callersMethodresolve_tsconfig_compiler_options
Resolves `compilerOptions.paths` `compilerOptions.rootDirs` (if specifier starts with `.`) `compilerOptions.baseUrl` (if specifier does not start with
src/tsconfig_resolver.rs:296
↓ 1 callersFunctionrun_combo
(c: &mut Criterion, combo: Combo)
benches/package_managers.rs:7
↓ 1 callersMethodslug
(self)
benches/package_managers.rs:111
↓ 1 callersFunctionsymlink
(original: P, link: Q)
benches/resolver.rs:72
↓ 1 callersMethodsymlink_metadata
(&self, path: &Path)
src/tests/memory_fs.rs:82
↓ 1 callersFunctiontest
()
fixtures/tsconfck/parse/solution/referenced-with-implicit-globs/tests/foo.test.ts:4
↓ 1 callersFunctiontest
()
fixtures/tsconfck/parse/solution/referenced-extends-original/tests/foo.test.ts:4
↓ 1 callersFunctiontest
()
fixtures/tsconfck/parse/solution/jsconfig/src/foo.spec.js:4
↓ 1 callersFunctiontest
()
fixtures/tsconfck/parse/solution/mixed/src/foo.spec.ts:4
↓ 1 callersMethodtest_for_infinite_recursion
Increases the context's depth in order to detect recursion. ### Errors [ResolveError::Recursion]
src/context.rs:68
↓ 1 callersFunctionto_u16s
Copied from <https://github.com/rust-lang/rust/blob/1.89.0/library/std/src/sys/pal/windows/mod.rs#L169-L188>
src/windows/metadata.rs:158
↓ 1 callersMethodtypes
(&self)
src/package_json/mod.rs:261
↓ 1 callersMethodtypes_versions
The "typesVersions" field in package.json. Returns the raw JSON value for the "typesVersions" field, which maps TypeScript version ranges to path red
src/package_json/mod.rs:279
↓ 1 callersMethodtypings
(&self)
src/package_json/mod.rs:269
↓ 1 callersFunctionunrolled_find_u16s
Copied from <https://github.com/rust-lang/rust/blob/1.89.0/library/std/src/sys/pal/windows/mod.rs#L140-L167>
src/windows/metadata.rs:182
↓ 1 callersFunctionunsupported_path_error
(path: PathBuf)
src/windows/mod.rs:37
↓ 1 callersFunctionutil
()
fixtures/tsconfig/cases/project-references-default-include/src/util.ts:1
↓ 1 callersFunctionvolume_name_from_mount_point
Converts a Win32 drive letter or mounted folder into DOS device path, e.g.: `\\?\Volume{GUID}\`
src/tests/windows.rs:14
↓ 1 callersMethodwith_condition_names
(mut self, names: &[&str])
src/options.rs:224
↓ 1 callersMethodwith_extended_file
(&mut self, path: PathBuf, cb: T)
src/tsconfig_resolver.rs:18
↓ 1 callersMethodwith_force_extension
(mut self, enforce_extension: EnforceExtension)
src/options.rs:320
← previousnext →201–300 of 769, ranked by callers