config_paths

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigPaths

type ConfigPaths struct {
	ConfigPath string
	KeyPath    string
}

ConfigPaths is a struct that holds the paths to the SSH config file and the SSH key file.

func NewConfigPaths

func NewConfigPaths(newAccountName string) (*ConfigPaths, error)

NewConfigPaths creates a new ConfigPaths struct and returns a pointer to it. It takes a newAccountName string as an argument, which is the name of the account that the user wants to use to authenticate with GitHub.

Jump to

Keyboard shortcuts

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