Debian Codegraph @

workspaces/arborist/test/fixtures/external-link-cached-dummy-dep/README.md

raw
1
2 ```
3 root (y)
4 +-- node_modules
5 +-- x => a/node_modules/b/node_modules/x (depends on y)
6 | creates dummy node a/node_modules/b
7 +-- z => a/z
8 | creates dummy node a
9 | depPath is a/node_modules/b
10 | already in cache, and a dummy!
11 a
12 +-- node_modules
13 | +-- b
14 | +-- node_modules
15 | +-- y
16 | +-- x (y)
17 +-- z (b)
18 ```
19
20 - loadFSTree root
21 - find y
22 - loadFSNode root/nm/y (link)
23 - loadFSNode a/nm/b/nm/y (has missing edge x)
24 - loadFSNode root/nm/z (link)
25 - loadFSNode a/z (has missing edge b)
26
27
28 findMissingEdges!
29
30 - a/nm/b/nm/x (missing y)
31 - check a/nm/b/nm/nm/y (not there)
32 - check a/nm/b/nm/y (found!)
33 - create dummy node for a/nm/b to be parent of a/nm/b/nm/y
34 - a/z (missing b)
35 - check a/nm/b (found!)
36 BUT!!! a/nm/b is a dummy node, and in the cache.