1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
-- test0/initial-requirements --
main.test@v0 example.com@v0.0.1
-- test0/root-packages --
main.test@v0:main
example.com/blah
-- test0/default-major-versions --
example.com@v0
-- test0/want --
main.test@v0:main
flags: inAll,isRoot,fromRoot,importsLoaded
mod: main.test@v0
location: .
imports:
example.com/blah
example.com/blah
flags: inAll,isRoot,fromRoot,importsLoaded
mod: example.com@v0.0.1
location: _registry/example.com_v0.0.1/blah
imports:
foo.com/bar/hello/goodbye@v0
foo.com/bar/hello/goodbye@v0
flags: inAll,isRoot,fromRoot
error: cannot fetch foo.com/bar/hello@v0.2.3: module foo.com/bar/hello@v0.2.3 not found at _registry/foo.com_bar_hello_v0.2.3
missing: false
-- main.cue --
package main
import "example.com/blah"
-- _registry/example.com_v0.0.1/cue.mod/module.cue --
module: "example.com@v0"
language: version: "v0.8.0"
deps: {
"foo.com/bar/hello@v0": v: "v0.2.3"
"bar.com@v0": v: "v0.5.0"
}
-- _registry/example.com_v0.0.1/blah/blah.cue --
package blah
import _ "foo.com/bar/hello/goodbye@v0"
|