proc

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostPtnList added in v0.1.2

func GetHostPtnList(confPath string, recursive bool) ([][]string, error)

func TestEdit

func TestEdit() ([]string, bool, error)

Types

type EditResult

type EditResult struct {
	HostPatterns  []string
	PreviousValue string
	CurrentValue  string
	LineNo        int
}

func RewriteConfigValue

func RewriteConfigValue(cfg *ssh_config.Config, targetPtn string, targetKeyName string, inputValue string) ([]EditResult, error)

Jump to

Keyboard shortcuts

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