Debian Codegraph @

internal/mod/modimports/testdata/simple.txtar

raw
1 -- want --
2 x.cue "dep1" "dep2:a" "dep2:b" "dep3"
3 z.cue
4 y/y1.cue "dep3" "dep4"
5 y/y2.cue
6 y/z1.cue
7 y/z2.cue
8 -- want-imports --
9 dep1
10 dep2:a
11 dep2:b
12 dep3
13 dep4
14 -- cue.mod/module.cue --
15 module: "example.com"
16
17 -- x.cue --
18 package example
19
20 import (
21 "dep1"
22 "dep2:a"
23 "dep2:b"
24 )
25 import "dep3"
26
27 x: true
28 -- y/y1.cue --
29 package y
30 import (
31 "dep3"
32 "dep4"
33 )
34
35 -- y/y2.cue --
36 package y
37
38 -- y/z1.cue --
39 package z
40
41 -- y/z2.cue --
42 package z
43
44 -- y/.omitted.cue --
45 package foo
46
47 -- y/_omitted.cue --
48 package foo
49
50 -- z.cue --
51 package example
52
53 -- _omitted1/foo.cue --
54 not even looked at
55
56 -- .omitted2/foo.cue --
57 not looked at either
58
59 -- z/cue.mod/module.cue --
60 module "other.com"
61
62 -- z/z.cue --
63 package z