gitutil

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package gitutil wraps git plumbing used by prompt-diff.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(ref, path string) bool

Exists reports whether path is tracked at ref.

func Show

func Show(ref, path string) ([]byte, error)

Show returns the content of a file at a git ref via `git show REF:PATH`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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