How does pnpm store prune
work?
#4546
Answered
by
zkochan
ChocolateLoverRaj
asked this question in
Q&A
-
I like the command |
Beta Was this translation helpful? Give feedback.
Answered by
zkochan
Apr 10, 2022
Replies: 1 comment
-
No, it reads every file in the content-addressable store and removes those that have only 1 reference. 1 reference means that the file is not linked from any project on the computer. https://github.com/pnpm/pnpm/blob/main/packages/package-store/src/storeController/prune.ts |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ChocolateLoverRaj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, it reads every file in the content-addressable store and removes those that have only 1 reference. 1 reference means that the file is not linked from any project on the computer.
https://github.com/pnpm/pnpm/blob/main/packages/package-store/src/storeController/prune.ts