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
LinkStrategy
Strategy for linking files from the store to node_modules.
NodeLinker
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 by aube patch-commit (or any compatible tool).