output

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package output provides centralized output directory management.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(path string) (*os.File, error)

Create creates a file at the given path, ensuring parent directories exist.

func Dir

func Dir() string

Dir returns the output directory path. It checks the EM_OUTPUT_DIR env var, defaulting to $HOME/.em/output.

func Path

func Path(name string) string

Path returns a file path within the output directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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