config

package
v0.0.0-...-beb088b Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package config handles persistent configuration for gkit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveRepoState

func SaveRepoState(ctx context.Context, repoPath string, state *RepoState) error

SaveRepoState persists state for the given repository.

Types

type RepoState

type RepoState struct {
	KnownPaths []string              `yaml:"known_paths,omitempty"`
	Authors    []authors.AuthorGroup `yaml:"authors,omitempty"`
}

RepoState holds persisted state for a repository.

func LoadRepoState

func LoadRepoState(ctx context.Context, repoPath string) (*RepoState, error)

LoadRepoState loads state for the given repository.

Jump to

Keyboard shortcuts

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