alias

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package alias provides unprefixed type aliases for diff command flags.

import diff "github.com/gloo-foo/cmd-diff/alias"
diff.Diff(input, diff.Unified)

Index

Constants

View Source
const NoUnified = command.DiffNoUnified

default: ed-style diff output

View Source
const Unified = command.DiffUnified

-u flag: unified diff output

Variables

This section is empty.

Functions

func Diff

func Diff(opts ...any) gloo.Command[[]byte, []byte]

Diff re-exports the constructor by delegation, preserving its exact signature.

Types

type DiffFs

type DiffFs = command.DiffFs

DiffFs re-exports the filesystem-injection option.

type DiffInput

type DiffInput = command.DiffInput

DiffInput re-exports the second-input type.

Jump to

Keyboard shortcuts

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