file

package
v0.8.20 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateUniqueFileNameForSnapshot

func GenerateUniqueFileNameForSnapshot(format string) (string, error)

Types

type Writer

type Writer interface {
	Write(data any) (int, error)
}

type YAMLWriter

type YAMLWriter struct {
	// contains filtered or unexported fields
}

func NewYAMLWriter

func NewYAMLWriter(filename string) (*YAMLWriter, error)

func (*YAMLWriter) Close

func (w *YAMLWriter) Close() error

func (*YAMLWriter) Write

func (w *YAMLWriter) Write(data any) (int, error)

Jump to

Keyboard shortcuts

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