utils

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDockerIgnore

func LoadDockerIgnore(path string) (excludes []string, err error)

LoadDockerIgnore reads the .dockerignore file at the given path and returns the list of file patterns to ignore

func WriteJSON

func WriteJSON(data any) error

WriteJson writes the given data structure to STDOUT using the indended Marshaler

Types

This section is empty.

Jump to

Keyboard shortcuts

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