Help us shape the future of Go! Take the 2026 Go Developer Survey

dir

package
v0.19.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dir

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

Dir atomically (best-effort on Windows) writes files to a given directory.

func New

func New(opts Options) *Dir

func (*Dir) Write

func (d *Dir) Write(files map[string][]byte) error

type Options

type Options struct {
	Log    logger.Logger
	Target string
}

Jump to

Keyboard shortcuts

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