Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/oxc-project/oxc-resolver
/ functions
Functions
769 in github.com/oxc-project/oxc-resolver
⨍
Functions
769
◇
Types & classes
86
↓ 1 callers
Method
dts_resolve_node_modules
( &self, extensions: Extensions, specifier: &str, package_name: &str,
src/dts_resolver.rs:451
↓ 1 callers
Method
dts_resolve_package_imports
( &self, cached_path: &CachedPath, specifier: &str, ctx: &mut Ctx, )
src/dts_resolver.rs:725
↓ 1 callers
Method
dts_resolve_package_self
( &self, cached_path: &CachedPath, specifier: &str, ctx: &mut Ctx, )
src/dts_resolver.rs:736
↓ 1 callers
Method
dts_resolve_tsconfig_paths
(&self, specifier: &str, ctx: &mut Ctx)
src/dts_resolver.rs:693
↓ 1 callers
Function
encode
(meta: Option<FileMetadata>)
src/cache/cached_meta.rs:69
↓ 1 callers
Method
entry_kind
(&self)
src/package_json/simd.rs:74
↓ 1 callers
Method
esm_file_format
ESM_FILE_FORMAT(url) <https://nodejs.org/docs/latest/api/esm.html#resolution-algorithm-specification>
src/lib.rs:1952
↓ 1 callers
Method
exports
(&self)
src/package_json/mod.rs:253
↓ 1 callers
Method
extend_tsconfig
(&mut self, tsconfig: &Self)
src/tsconfig.rs:207
↓ 1 callers
Function
file_system
()
src/tests/dependencies.rs:10
↓ 1 callers
Function
file_url_to_path
( specifier: &str, hostname: &str, pathname: &str, query_fragment: &str, )
src/file_url.rs:76
↓ 1 callers
Method
find_package_json_impl
Find package.json of a path by traversing parent directories. # Errors [ResolveError::Json]
src/cache/cache_impl.rs:201
↓ 1 callers
Method
find_tsconfig_auto
( &self, cached_path: &CachedPath, )
src/tsconfig_resolver.rs:107
↓ 1 callers
Method
find_tsconfig_impl
Find tsconfig.json of a path by traversing parent directories. # Errors [ResolveError::Json]
src/tsconfig_resolver.rs:96
↓ 1 callers
Method
find_tsconfig_tracing
( &self, cached_path: &CachedPath, )
src/tsconfig_resolver.rs:63
↓ 1 callers
Method
fixture_root
(self)
benches/package_managers.rs:124
↓ 1 callers
Method
fixture_root_if_installed
(self)
benches/package_managers.rs:128
↓ 1 callers
Function
foo
()
fixtures/tsconfig/cases/project-references-priority/lib/foo.ts:1
↓ 1 callers
Function
foo
()
fixtures/tsconfck/parse/solution/referenced-with-implicit-globs/src/foo.ts:1
↓ 1 callers
Function
foo
()
fixtures/tsconfck/parse/solution/referenced-extends-original/src/foo.ts:1
↓ 1 callers
Function
foo
()
fixtures/tsconfck/parse/solution/simple/src/foo.ts:1
↓ 1 callers
Method
get_extended_configs_with
(&self, path: PathBuf)
src/tsconfig_resolver.rs:29
↓ 1 callers
Function
get_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 callers
Method
get_yarn_pnp_manifest
( &self, cwd: Option<&Path>, )
src/cache/cache_impl.rs:322
↓ 1 callers
Method
hash
(&self, state: &mut H)
src/cache/cached_path.rs:239
↓ 1 callers
Method
imports_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 callers
Function
init
(dirname: &Path, temp_path: &Path)
src/tests/symlink.rs:43
↓ 1 callers
Method
init_file_dependencies
(&mut self)
src/context.rs:42
↓ 1 callers
Function
init_tracing
To debug `oxc_resolver`: `OXC_LOG=DEBUG your program`
napi/src/tracing.rs:9
↓ 1 callers
Function
inner
(s: &OsStr)
src/windows/metadata.rs:159
↓ 1 callers
Method
intersects
(self, other: Self)
src/dts_resolver.rs:41
↓ 1 callers
Function
isMuslFromChildProcess
()
napi/index.js:54
↓ 1 callers
Function
isMuslFromFilesystem
()
napi/index.js:26
↓ 1 callers
Function
isMuslFromReport
()
napi/index.js:34
↓ 1 callers
Method
is_already_extended
(&self, path: &Path)
src/tsconfig_resolver.rs:25
↓ 1 callers
Method
is_disabled
(self)
src/options.rs:467
↓ 1 callers
Method
is_enabled
(self)
src/options.rs:462
↓ 1 callers
Method
is_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 callers
Method
is_glob_match
(&self, pattern: &str, path: &Path, path_str: &str)
src/tsconfig.rs:717
↓ 1 callers
Method
is_ignore
(&self)
src/error.rs:129
↓ 1 callers
Method
is_invalid_exports_target
(&self)
src/path.rs:91
↓ 1 callers
Method
load_alias_value
( &self, cached_path: &CachedPath, alias_key: &str, alias_match_kind: &AliasMa
src/alias.rs:196
↓ 1 callers
Method
load_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 callers
Method
load_fixtures
(&mut self)
benches/resolver.rs:532
↓ 1 callers
Method
load_node_modules_packages
(&mut self, cwd: &Path)
benches/resolver.rs:577
↓ 1 callers
Method
load_package_exports
( &self, specifier: &str, subpath: &str, cached_path: &CachedPath, tsc
src/lib.rs:1157
↓ 1 callers
Method
load_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 callers
Method
load_pnp
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: Option<&TsConfig
src/lib.rs:1053
↓ 1 callers
Method
load_references
Loads the given references into this tsconfig. Returns whether any references are defined in the tsconfig.
src/tsconfig.rs:195
↓ 1 callers
Method
load_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 callers
Method
load_tsconfig_root_dirs
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: &TsConfig,
src/tsconfig_resolver.rs:354
↓ 1 callers
Function
maybe_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 callers
Method
metadata
(&self, path: &Path)
benches/resolver.rs:745
↓ 1 callers
Method
module_type
(&self)
src/resolution.rs:107
↓ 1 callers
Method
normalize_relative
(&self)
src/path.rs:67
↓ 1 callers
Method
normalize_root
(&self, cache: &Cache)
src/cache/cached_path.rs:210
↓ 1 callers
Function
normalize_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 callers
Method
normalize_with_impl
(&self, subpath: &Path, cache: &Cache)
src/cache/cached_path.rs:188
↓ 1 callers
Method
options
(&self)
src/lib.rs:212
↓ 1 callers
Method
package_imports_resolve
PACKAGE_IMPORTS_RESOLVE(specifier, parentURL, conditions)
src/lib.rs:1563
↓ 1 callers
Method
package_resolve
PACKAGE_RESOLVE(packageSpecifier, parentURL)
src/lib.rs:1394
↓ 1 callers
Method
path
(&self)
src/resolution.rs:64
↓ 1 callers
Method
read
(&self, path: &Path)
benches/resolver.rs:708
↓ 1 callers
Method
read
(&self, path: &Path)
src/file_system.rs:270
↓ 1 callers
Method
read_link
(&self, _path: &Path)
src/tests/memory_fs.rs:86
↓ 1 callers
Method
read_to_string
(&self, path: &Path)
src/tests/memory_fs.rs:66
↓ 1 callers
Method
replace_extension
(&self, ext: &str, cache: &Cache)
src/cache/cached_path.rs:164
↓ 1 callers
Function
requests
(root: &std::path::Path)
benches/package_managers.rs:198
↓ 1 callers
Function
requireNative
()
napi/index.js:63
↓ 1 callers
Method
require_absolute
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: Option<&TsConfig
src/lib.rs:522
↓ 1 callers
Method
require_bare
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: Option<&TsConfig
src/lib.rs:596
↓ 1 callers
Method
require_hash
( &self, cached_path: &CachedPath, specifier: &str, tsconfig: Option<&TsConfig
src/lib.rs:583
↓ 1 callers
Method
resolve
(&self, specifier: &str)
src/tsconfig.rs:829
↓ 1 callers
Method
resolve_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 callers
Method
resolve_dts_impl
( &self, containing_file: &Path, specifier: &str, )
src/dts_resolver.rs:98
↓ 1 callers
Method
resolve_file_impl
(&self, path: &Path, specifier: &str)
src/lib.rs:270
↓ 1 callers
Method
resolve_impl
( &self, path: &Path, specifier: &str, tsconfig: Option<&TsConfig>, ct
src/lib.rs:337
↓ 1 callers
Method
resolve_options
(self, fixture_root: &std::path::Path)
benches/package_managers.rs:137
↓ 1 callers
Method
resolve_references_then_self_paths
( &self, path: &Path, specifier: &str, )
src/tsconfig.rs:471
↓ 1 callers
Method
resolve_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 callers
Function
run_combo
(c: &mut Criterion, combo: Combo)
benches/package_managers.rs:7
↓ 1 callers
Method
slug
(self)
benches/package_managers.rs:111
↓ 1 callers
Function
symlink
(original: P, link: Q)
benches/resolver.rs:72
↓ 1 callers
Method
symlink_metadata
(&self, path: &Path)
src/tests/memory_fs.rs:82
↓ 1 callers
Function
test
()
fixtures/tsconfck/parse/solution/referenced-with-implicit-globs/tests/foo.test.ts:4
↓ 1 callers
Function
test
()
fixtures/tsconfck/parse/solution/referenced-extends-original/tests/foo.test.ts:4
↓ 1 callers
Function
test
()
fixtures/tsconfck/parse/solution/jsconfig/src/foo.spec.js:4
↓ 1 callers
Function
test
()
fixtures/tsconfck/parse/solution/mixed/src/foo.spec.ts:4
↓ 1 callers
Method
test_for_infinite_recursion
Increases the context's depth in order to detect recursion. ### Errors [ResolveError::Recursion]
src/context.rs:68
↓ 1 callers
Function
to_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 callers
Method
types
(&self)
src/package_json/mod.rs:261
↓ 1 callers
Method
types_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 callers
Method
typings
(&self)
src/package_json/mod.rs:269
↓ 1 callers
Function
unrolled_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 callers
Function
unsupported_path_error
(path: PathBuf)
src/windows/mod.rs:37
↓ 1 callers
Function
util
()
fixtures/tsconfig/cases/project-references-default-include/src/util.ts:1
↓ 1 callers
Function
volume_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 callers
Method
with_condition_names
(mut self, names: &[&str])
src/options.rs:224
↓ 1 callers
Method
with_extended_file
(&mut self, path: PathBuf, cb: T)
src/tsconfig_resolver.rs:18
↓ 1 callers
Method
with_force_extension
(mut self, enforce_extension: EnforceExtension)
src/options.rs:320
← previous
next →
201–300 of 769, ranked by callers