editutil

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateEditorWarningHeader

func GenerateEditorWarningHeader() string

GenerateEditorWarningHeader generates the editor warning header.

func OpenEditor

func OpenEditor(content []byte, hdr string) ([]byte, error)

OpenEditor opens an editor, and returns the content (not path) of the modified yaml.

OpenEditor returns nil when the file was saved as an empty file, optionally with whitespaces.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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