gitx

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package gitx holds tforg's git integration: staged-file discovery and the pre-commit hook installer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallHook

func InstallHook(args []string) int

InstallHook writes a pre-commit hook into the repository containing the current directory, honoring core.hooksPath.

func StagedTfFiles

func StagedTfFiles() ([]string, []string)

StagedTfFiles returns absolute paths of the .tf files currently staged for commit (added, copied, modified, or renamed).

Types

This section is empty.

Jump to

Keyboard shortcuts

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