git

package
v0.0.105 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGitIgnores

func AddGitIgnores(repo *git.Repository, patterns []string)

AddGitIgnores will add patterns to `.gitignore` Any issues with this are silently ignored

func FindGitIgnores

func FindGitIgnores(repo *git.Repository, patterns []string) (found []string, missing []string)

FindGitIgnores will search for patterns in `.gitignore` All missing and found patterns are returned

func RepoFromDir

func RepoFromDir(dir string) *git.Repository

Types

This section is empty.

Jump to

Keyboard shortcuts

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