git

package
v0.1.18-rc20 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureCommit

func EnsureCommit(ctx context.Context, repoDir, userName, userEmail, message string) (bool, error)

EnsureCommit stages and commits all changes in the repository when any exist. Returns true when a commit was created.

func WorkspaceStatus

func WorkspaceStatus(ctx context.Context, repoDir string) (string, error)

WorkspaceStatus returns the output of `git status --porcelain` for the given directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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