Skip to content

Commit 5d68369

Browse files
committed
Update paths.ts documentation for unified DLX directory
Clarify that ~/.socket/_dlx now contains both npm package installations and binary downloads, all content-addressed by hash. This unifies the storage structure and matches npm's _npx approach.
1 parent 151315d commit 5d68369

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/paths.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
*
55
* Directory Structure:
66
* ~/.socket/
7-
* ├── _cacache/ # Content-addressable cache (shared)
8-
* ├── _dlx/ # DLX tool installations (shared)
7+
* ├── _cacache/ # Content-addressable cache for npm packages
8+
* ├── _dlx/ # DLX installations (content-addressed by hash)
9+
* │ ├── <hash>/ # npm package installs (dlx-package)
10+
* │ └── <hash>/ # binary downloads (dlx-binary)
911
* ├── _socket/ # Socket CLI app directory
1012
* ├── _registry/ # Socket Registry app directory
1113
* └── _sfw/ # Socket Firewall app directory

0 commit comments

Comments
 (0)