files

package
v2.9.0-dev.dbc482d5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var YamlExtensions = []string{"yaml", "yml"}

YamlExtensions contains all yaml-file extensions without leading dot that we allow.

Functions

func DoesFileExist

func DoesFileExist(fs afero.Fs, path string) (bool, error)

func IsYamlFileExtension

func IsYamlFileExtension(file string) bool

IsYamlFileExtension checks whether a file has a yaml extension specified in YamlExtensions, with leading dot.

func ReplacePathSeparators

func ReplacePathSeparators(path string) (newPath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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