utils

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsKustomization

func ContainsKustomization(path string) bool

func IsDir

func IsDir(path string) (bool, error)

func IsExist added in v0.4.0

func IsExist(path string) bool

func IsFile added in v0.4.0

func IsFile(path string) (bool, error)

func MkDir added in v0.4.0

func MkDir(path string, dryRun bool) error

func RelWD

func RelWD(path string) string

func RemoveExtraFilesAndDirectories added in v0.25.0

func RemoveExtraFilesAndDirectories(sourceDir, targetDir string, dryRun bool) error

func SOPSLastModified added in v0.28.0

func SOPSLastModified(fileBytes []byte) (time.Time, error)

func WriteFile

func WriteFile(path string, b []byte, mode uint32, dryRun bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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