fix

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 13 Imported by: 4

Documentation

Overview

Package fix contains functionality for writing CUE files with legacy syntax to newer ones.

Note: the transformations that are supported in this package will change over time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func File

func File(f *ast.File) *ast.File

File applies fixes to f and returns it. It alters the original f.

func Instances

func Instances(a []*build.Instance) errors.Error

Instances modifies all files contained in the given build instances at once.

It also applies fix.File.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL