helpers

package
v0.2.10 Latest Latest
Warning

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

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

Documentation

Overview

Package helpers holds small helpers shared across the fxadmin commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireDistinctOutput

func RequireDistinctOutput(outputPath string, inputPaths ...string) error

RequireDistinctOutput reports an error if outputPath resolves to the same file as any of inputPaths, so writing the output never silently overwrites one of the command's own inputs. Paths are compared after resolving to absolute form, so distinct strings that name the same file are still caught.

Types

This section is empty.

Jump to

Keyboard shortcuts

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