git

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: ISC Imports: 7 Imported by: 0

Documentation

Overview

Package git provides functions to utilize the git cli tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFromCache

func GetFromCache(account string) (string, error)

GetFromCache reads a 1password session token from git cache.

func GetVersion

func GetVersion() (string, error)

GetVersion returns the installed git version.

func ReadInput

func ReadInput(r io.Reader) (map[string]string, error)

ReadInput reads key-value pairs from git output api.

func StoreInCache

func StoreInCache(account, token string, timeout uint) error

StoreInCache stores a 1password session token inside git cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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