state

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const LockVersion = "0.9"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	OutputDirectory string
	TagEnable       []string `json:"TagEnable,omitempty"`
	PluginEnable    []string `json:"PluginEnable,omitempty"`
	PluginDisable   []string `json:"PluginDisable,omitempty"`
	SchemaFiles     []string
}

func LoadConfig

func LoadConfig(path string) (c *Config, err error)

func (*Config) Save

func (c *Config) Save(path string) (err error)

func (*Config) Validate

func (c *Config) Validate() (err error)

type LockFile

type LockFile struct {
	Version string
	Plugins []string
	Files   []string
}

func LoadLockFile

func LoadLockFile(path string) (lf *LockFile, err error)

func (*LockFile) Save

func (lf *LockFile) Save(path string) (err error)

Jump to

Keyboard shortcuts

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