data

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Data     []byte
	Name     string
	FullPath string
}

func JoinYAML

func JoinYAML(files []File) File

func ReadFile

func ReadFile(fileSys fs.FS, file string) (File, error)

func SplitYAML

func SplitYAML(file File) []File

func (File) String

func (f File) String() string

type FileList

type FileList []File

func ReadFiles

func ReadFiles(fileSys fs.FS) (FileList, error)

func (FileList) Filter

func (l FileList) Filter(predicate func(File) bool) FileList

Jump to

Keyboard shortcuts

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