file

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(glob, output string) error

func Exists

func Exists(path string) bool

func GetFilePaths

func GetFilePaths(glob string) ([]string, error)

func GetFilename

func GetFilename(path string) string

func GetFullFilename

func GetFullFilename(path string) string

func ReadFile

func ReadFile(path string) ([]byte, error)

func ReadHCLFile

func ReadHCLFile(path string) (*hclwrite.File, error)

func ReplaceWithTerrapolicyFile

func ReplaceWithTerrapolicyFile(path string, textContent string, rename bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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