config

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BareRepoConfig

func BareRepoConfig() string

Retrieve path to bare repo git config

func ReadUserConfig

func ReadUserConfig()

reads user configuration from a .toml file

Types

type Config

type Config struct {
	Worktree           string
	GitDir             string `toml:"git-dir"`
	Origin             string
	RepoFlags          []string // Flags for bare repo dir and worktree
	BatchCommitMessage string   `toml:"batch-commit-message"`
	Modules            []string
}

func UserConfig

func UserConfig() *Config

returns pointer to user config struct

Jump to

Keyboard shortcuts

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