hooks

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWorkspace added in v0.9.1

func AddWorkspace(newWorkspace *Workspace)

func CheckConfigFiles

func CheckConfigFiles()

func DeleteSelectedWorkspace added in v0.9.1

func DeleteSelectedWorkspace(ghConfig *GitHookConfig, idx int)

func GetWorkspaceIndex added in v0.9.2

func GetWorkspaceIndex(workspaces []Workspace) int

func InitHooks

func InitHooks() GitHookConfig

func MigrateGitHooksConfig added in v0.9.1

func MigrateGitHooksConfig()

func PreviewConfig

func PreviewConfig(newWorkspace *Workspace)

func ReadFromGitHooksLog added in v0.9.1

func ReadFromGitHooksLog() []GitHooks

func ReadGitHooksConfig added in v0.9.1

func ReadGitHooksConfig() GitHookConfig

func WriteGitHooksConfig added in v0.9.1

func WriteGitHooksConfig(ghConfig *GitHookConfig)

Types

This section is empty.

Jump to

Keyboard shortcuts

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