Skip to main content

Crate aube_linker

Crate aube_linker 

Source

Re-exports§

pub use sys::BinShimOptions;
pub use sys::create_bin_shim;
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§

HoistedPlacements
Map from lockfile dep_path to 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 parent node_modules/ directories so each gets its own on-disk copy.
LinkStats
Linker
Links packages from the global store into a project’s node_modules/.

Enums§

Error
HoistingLimits
Limit how far packages may be promoted in NodeLinker::Hoisted.
LinkStrategy
Strategy for linking files from the store to node_modules.
NodeLinker
Strategy for arranging packages under node_modules/.

Functions§

build_nested_link_targets
Build a dep_path → absolute on-disk target map for every LocalSource::Link in the graph. Returned None when the graph has no link entries (vast majority of installs), so the materialize hot path can short-circuit without a per-dep lookup.
default_linker_parallelism
is_physical_importer
Real workspace importer, not a peer-context bookkeeping entry.
mkdirp
xx::file::mkdirp wrapped with the linker’s Error::Xx conversion. Every materialize pass calls this before creating a symlink / junction, so the lossy .to_string() wrap lives in exactly one place.
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
A map of name@version -> raw multi-file unified diff text.