Skip to main content

shared_note

Function shared_note 

Source
pub fn shared_note(shared_bytes: u64, adapter: &str) -> String
Expand description

The suffix explaining bytes a prune does not free because a package-manager store hardlinks them (pnpm, bun). Empty when there is nothing to explain, so call sites can append it unconditionally.

This line exists because du and Explorer report the apparent size: without it, “node_modules (40 MiB)” beside a 2 GiB folder reads as a bug rather than as pnpm working exactly as designed.