internal

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverFilePaths

func DiscoverFilePaths(fileFS afero.Fs, rootDir string) ([]string, error)

func DiscoverSpecDirPaths

func DiscoverSpecDirPaths(specFS afero.Fs, rootSpecDir, referenceFileName string) ([]string, error)

func GetFirstSpecByFilter

func GetFirstSpecByFilter[S local.ValidSpec](specs []S, filter func(S) bool) S

func ReadSpec

func ReadSpec[S local.ValidSpec](specFS afero.Fs, filePath string) (S, error)

func WriteSpec

func WriteSpec[S local.ValidSpec](specFS afero.Fs, filePath string, spec S) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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