git

package
v0.6.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitConfig

type GitConfig struct {
	Livereload *GitLivereloadConfig `yaml:"livereload"`
}

GitConfig represents the Git configuration

func (*GitConfig) Copy

func (c *GitConfig) Copy() *GitConfig

Copy creates a deep copy of the GitConfig object

func (*GitConfig) Merge

func (base *GitConfig) Merge(overlay *GitConfig)

Merge performs a deep merge of the current GitConfig with another GitConfig.

type GitLivereloadConfig

type GitLivereloadConfig struct {
	Enabled      *bool   `yaml:"enabled"`
	RsyncExclude *string `yaml:"rsync_exclude,omitempty"`
	RsyncProtect *string `yaml:"rsync_protect,omitempty"`
	Username     *string `yaml:"username,omitempty"`
	Password     *string `yaml:"password,omitempty"`
	WebhookUrl   *string `yaml:"webhook_url,omitempty"`
	VerifySsl    *bool   `yaml:"verify_ssl,omitempty"`
	Image        *string `yaml:"image,omitempty"`
}

GitLivereloadConfig represents the Git livereload configuration

Jump to

Keyboard shortcuts

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