package modimports
import "cuelang.org/go/internal/mod/modimports"
Index ¶
Functions ¶
func AllModuleFiles ¶
AllModuleFiles returns an iterator that produces all the CUE files inside the module at the given root.
Types ¶
type ModuleFile ¶
type ModuleFile struct { // FilePath holds the path of the module file // relative to the root of the fs. This will be // valid even if there's an associated error. // // If there's an error, it might not a be CUE file. FilePath string // Syntax includes only the portion of the file up to and including // the imports. It will be nil if there was an error reading the file. Syntax *ast.File }
Source Files ¶
modimports.go
- Version
- v0.8.0-0.dev
- Published
- Dec 6, 2023
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 25 minutes ago –
Tools for package owners.