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

output

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package output installs generated directory trees without overwriting output that is not owned by sqltom.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, outputFolder string, build func(ctx context.Context, stagingDir string) error) (buildErr error)

Build creates a private staging directory next to outputFolder, invokes build to populate it, and replaces outputFolder only after build succeeds. A non-empty existing output is replaced only when it carries sqltom's ownership marker. The callback must treat stagingDir as its output root and should check ctx during long-running work.

Types

This section is empty.

Jump to

Keyboard shortcuts

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