git

package
v0.2.17 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package git provides an integration with the git command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(output string, err error) (string, error)

Clean the output

func IsRepo

func IsRepo() bool

IsRepo returns true if current folder is a git repository

func Run

func Run(args ...string) (string, error)

Run runs a git command and returns its output or errors

Types

This section is empty.

Jump to

Keyboard shortcuts

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