Re-exports§
pub use sys::BinShimOptions;pub use sys::create_bin_shim;pub use sys::create_dir_link;pub use sys::normalize_path;pub use sys::parse_posix_shim_target;pub use sys::remove_bin_shim;pub use sys::validate_bin_name;pub use sys::validate_bin_target;
Modules§
- sys
- Platform-specific directory-link and bin-shim creation.
Structs§
- Hoisted
Placements - Map from lockfile
dep_pathto the absolute on-disk directories where that package ended up. Most entries have exactly one path; packages whose name conflicts with a shallower version end up duplicated across multiple parentnode_modules/directories so each gets its own on-disk copy. - Link
Stats - Linker
- Links packages from the global store into a project’s node_modules/.
Enums§
- Error
- Link
Strategy - Strategy for linking files from the store to node_modules.
- Node
Linker - Strategy for arranging packages under
node_modules/.
Functions§
- default_
linker_ parallelism - is_
physical_ importer - Real workspace importer, not a peer-context bookkeeping entry.
- remove_
dir_ all_ with_ retry - Remove a directory with retry on Windows sharing violations.
- sweep_
stale_ tmp_ dirs - Sweep orphan
.tmp-<pid>-*directories in the virtual store.
Type Aliases§
- Patches
- Patches to apply at materialize time, keyed by
name@version. Each value is the raw multi-file unified diff text written byaube patch-commit(or any compatible tool).