Method
Import
(importedFrom, importedPath string)
Source from the content-addressed store, hash-verified
| 135 | } |
| 136 | |
| 137 | func (importer *importerWithHistory) Import(importedFrom, importedPath string) (contents Contents, foundAt string, err error) { |
| 138 | importer.history = append(importer.history, importHistoryEntry{importedFrom, importedPath}) |
| 139 | return importer.i.Import(importedFrom, importedPath) |
| 140 | } |
| 141 | |
| 142 | func TestExtVarImportedFrom(t *testing.T) { |
| 143 | vm := MakeVM() |
Callers
nothing calls this directly
Tested by
no test coverage detected