MCPcopy Create free account

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

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

Functionmatch_path
()
src/tests/tsconfig_paths.rs:428
Functionmatches
Returns whether `resolved_path` correctly resolves `req`. The path is checked for two things: (a) it contains a segment matching `req.pkg_dir` in one
benches/package_managers.rs:178
Methodmetadata
(path: &Path)
src/file_system.rs:181
Methodmetadata
(&self, path: &Path)
src/tests/tsconfig_extends.rs:283
Functionminimatch
()
tests/resolve_package.rs:186
Functionmodule
()
src/specifier.rs:153
Functionmodule_directory_fallback
()
src/tests/modules.rs:52
Functionmodule_type_disabled
()
src/tests/module_type.rs:50
Functionmulti_dot_extension
()
src/tests/extensions.rs:86
Functionmultiple_module_directories_priority
()
src/tests/modules.rs:35
Methodnames
(&self)
src/error.rs:222
Functionnested_monorepo_canonicalize_matches_os
()
src/tests/symlink.rs:373
Functionnested_package_json_type
()
src/tests/module_type.rs:36
Functionnested_symlinks
regression: https://github.com/NicholasLYang/oxc-repro
tests/misc.rs:39
Methodnew
Create a new memory file system and load all fixtures
benches/resolver.rs:498
Methodnew
(options: Option<NapiResolveOptions>)
napi/src/lib.rs:154
Methodnew
(paths_map: &CompilerOptionsPathsMap)
src/tsconfig.rs:790
Methodnew
(options: ResolveOptions)
src/lib.rs:162
Methodnew
(is_file: bool, is_dir: bool, is_symlink: bool)
src/file_system.rs:92
Methodnew
()
src/cache/cached_meta.rs:41
Methodnew
(fs: Arc<dyn FileSystem>)
src/cache/cache_impl.rs:349
Methodnew
( hash: u64, path: Box<Path>, is_node_modules: bool, inside_node_modules: bool
src/cache/cached_path.rs:44
Methodnew
()
src/tests/tsconfig_extends.rs:260
Methodnew
(data: &[(&'static str, &'static str)])
src/tests/memory_fs.rs:19
Methodnew_with_file_system
(file_system: Fs, options: ResolveOptions)
src/lib.rs:178
Functionno_package
()
src/tests/simple.rs:69
Functionno_prefer_relative_uses_node_modules
()
src/tests/resolve.rs:118
Functionno_types_not_resolved
()
src/tests/dts_resolver.rs:169
Functionnode_path_resolves_from_modules
()
tests/misc.rs:58
Functionnode_protocol_not_resolved
()
src/tests/dts_resolver.rs:162
Functionnode_protocol_returns_not_found
()
src/tests/dts_resolver.rs:226
Functionnon_file_url_passthrough
()
src/file_url.rs:136
Functionnonexistent_package
()
src/tests/dts_resolver.rs:219
Functionnormalize
()
src/path.rs:170
Methodnormalize_options
(op: NapiResolveOptions)
napi/src/lib.rs:249
Functionnormalize_relative
()
src/path.rs:178
Methodnormalize_string_target
( target_key: &'a str, target: &'a str, pattern_match: Option<&'a str>,
src/lib.rs:1718
Methodnormalize_with
(&self, subpath: B)
src/path.rs:85
Functionnot_apply_to_extension_nor_main_files
()
src/tests/extension_alias.rs:55
FunctiononCreateWorker
()
napi/resolver.wasi.cjs:61
FunctiononCreateWorker
()
napi/resolver.wasi-browser.js:40
FunctiononLoad
({ wasmModule, wasmMemory })
napi/wasi-worker.mjs:36
FunctiononLoad
({ wasmModule, wasmMemory })
napi/wasi-worker-browser.mjs:7
Functionoptions
()
tests/api.rs:103
Functionoptions_api
()
tests/api.rs:130
FunctionoverwriteImports
(importObject)
napi/resolver.wasi.cjs:93
FunctionoverwriteImports
(importObject)
napi/wasi-worker.mjs:49
FunctionoverwriteImports
(importObject)
napi/resolver.wasi-browser.js:49
FunctionoverwriteImports
(importObject)
napi/wasi-worker-browser.mjs:26
Functionpackage_json
()
tests/api.rs:43
Functionpackage_json_with_bom
()
tests/misc.rs:27
Functionpackage_json_with_symlinks_true
()
src/tests/package_json.rs:51
Methodparse
(node_path: Option<std::ffi::OsString>)
src/node_path.rs:26
Methodparse
(specifier: &'a str)
src/specifier.rs:17
Methodparse
Parse a package.json file from JSON bytes # Errors
src/package_json/serde.rs:91
Methodparse
Parse a package.json file from JSON bytes # Panics # Errors
src/package_json/simd.rs:111
Functionparse_invalid
()
src/tests/tsconfck.rs:27
Methodparse_package_specifier
Returns (module, subpath) https://github.com/nodejs/node/blob/8f0f17e1e3b6c4e58ce748e06343c5304062c491/lib/internal/modules/esm/resolve.js#L688 NOTE:
src/lib.rs:1870
Methodparse_query_fragment
( specifier: &'a str, skip: usize, )
src/specifier.rs:36
Functionparse_valid
()
src/tests/tsconfck.rs:17
Functionpart_of_solution
()
src/tests/tsconfck.rs:58
Functionparts
(meta: FileMetadata)
src/cache/cached_meta.rs:95
Methodpath
(&'a self)
src/specifier.rs:13
Methodpaths
(&self)
src/error.rs:192
Functionpaths_child_overrides_extended
()
src/tests/tsconfig_lookup.rs:286
Functionpaths_empty_array
()
src/tests/tsconfig_lookup.rs:241
Functionpaths_exact_wins_over_wildcard
()
src/tests/tsconfig_lookup.rs:250
Functionpaths_explicit_extension_target
()
src/tests/tsconfig_lookup.rs:314
Functionpaths_inherited_paths_base
()
src/tests/tsconfig_lookup.rs:295
Functionpaths_longest_prefix_wins
()
src/tests/tsconfig_lookup.rs:262
Functionpaths_multiple_substitutions_pick_first_existing
()
src/tests/tsconfig_lookup.rs:274
Functionpaths_no_base_url_anchors_at_config_dir
()
src/tests/tsconfig_lookup.rs:305
Functionpaths_star_only_pattern
()
src/tests/tsconfig_lookup.rs:393
Functionpaths_wildcard_prefix_and_suffix
()
src/tests/tsconfig_lookup.rs:327
Methodpattern_key_compare
PATTERN_KEY_COMPARE(keyA, keyB)
src/lib.rs:1901
Functionpercent_decoding
()
src/file_url.rs:165
Functionpercent_decoding_windows
()
src/file_url.rs:174
Functionpnp_basic
()
src/tests/pnp.rs:10
Functionposix_rejects_encoded_slash
()
src/file_url.rs:253
Functionposix_rejects_hostname
()
src/file_url.rs:247
Functionpostcss
()
tests/resolve_package.rs:84
Functionprefer_absolute
()
src/tests/roots.rs:61
Functionprefer_relative
()
src/tests/resolve.rs:89
Functionprefer_relative_local_over_node_modules
()
src/tests/resolve.rs:108
Functionproject_references_both_resolve_via_their_own_paths
()
src/tests/tsconfig_lookup.rs:415
Methodquery
(&self)
src/resolution.rs:76
Functionquery_and_fragment_preserved
()
src/file_url.rs:180
Functionquery_and_fragment_preserved_windows
()
src/file_url.rs:197
Functionquery_fragment
()
src/specifier.rs:167
Methodread
(&self, path: &Path)
src/tests/tsconfig_extends.rs:269
Methodread_link
(&self, path: &Path)
benches/resolver.rs:794
Methodread_link
(path: &Path)
src/file_system.rs:239
Methodread_link
(&self, path: &Path)
src/tests/tsconfig_extends.rs:291
Methodread_to_string
(&self, path: &Path)
benches/resolver.rs:740
Methodread_to_string
# Errors See [std::fs::read_to_string]
src/file_system.rs:172
Methodread_to_string
(&self, path: &Path)
src/tests/tsconfig_extends.rs:273
Functionreal_package_anchor_walks_internal_symlinks
()
src/tests/symlink.rs:343
Methodrealpath
(&self)
src/package_json/mod.rs:186
Functionrecurse_fail
()
src/tests/browser_field.rs:95
Functionrecursive
()
src/tests/browser_field.rs:157
← previousnext →501–600 of 769, ranked by callers