yam

package
v0.38.18 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatConfigurationFile

func FormatConfigurationFile(dir, filename string) error

func TryReadingEncodeOptions added in v0.35.0

func TryReadingEncodeOptions(dir string) (formatted.EncodeOptions, error)

TryReadingEncodeOptions does a "best effort" retrieval of the yam encode options. If no yam config is present in the given directory, no error is returned, and a set of default options are returned. An error is only returned if there is a problem reading the (present) yam config file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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