Does pnpm copy files? #8115
Unanswered
offizium-berndstorath
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to check if pnpm is doing its job
# /bin/ls -l node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/ts-node total 304 -rw-r--r-- 1 berndstorath staff 1103 May 23 10:42 LICENSE -rw-r--r-- 1 berndstorath staff 48798 May 23 10:42 README.md -rw-r--r-- 1 berndstorath staff 380 May 23 10:42 child-loader.mjs drwxr-xr-x 67 berndstorath staff 2144 May 23 10:44 dist drwxr-xr-x 17 berndstorath staff 544 May 23 10:44 dist-raw drwxr-xr-x 3 berndstorath staff 96 May 23 10:44 esm -rw-r--r-- 1 berndstorath staff 308 May 23 10:42 esm.mjs drwxr-xr-x 3 berndstorath staff 96 May 23 10:44 node10 drwxr-xr-x 3 berndstorath staff 96 May 23 10:44 node12 drwxr-xr-x 3 berndstorath staff 96 May 23 10:44 node14 drwxr-xr-x 3 berndstorath staff 96 May 23 10:44 node16 drwxr-xr-x 3 berndstorath staff 96 May 23 10:44 node_modules -rw-r--r-- 1 berndstorath staff 6077 May 23 10:42 package.json drwxr-xr-x 6 berndstorath staff 192 May 23 10:44 register drwxr-xr-x 4 berndstorath staff 128 May 23 10:44 transpilers -rw-r--r-- 1 berndstorath staff 10581 May 23 10:42 tsconfig.schema.json -rw-r--r-- 1 berndstorath staff 72100 May 23 10:42 tsconfig.schemastore-schema.json
The second column should show the amount of references. If its >1 than its a hardlink or a hardlink points to it. This is my understanding. But it shows a value of 1. Is this correct?
stats also shows its a regular file with only 1 link.
I am using macos and pnpm uses apfs cloning. is there a way to check this?
Beta Was this translation helpful? Give feedback.
All reactions