flake

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPackageConflict = errors.New("package exists in fleek and nix profile")

Functions

This section is empty.

Types

type Data

type Data struct {
	Config   *fleek.Config
	UserName string
	Home     string
	Bling    *fleek.Bling
}

type Flake

type Flake struct {
	Templates *template.Template
	Config    *fleek.Config
	// contains filtered or unexported fields
}

func Load

func Load(cfg *fleek.Config, app *app.App) (*Flake, error)

func (*Flake) Apply

func (f *Flake) Apply() error

func (*Flake) Check

func (f *Flake) Check() ([]byte, error)

func (*Flake) Clone added in v0.7.1

func (f *Flake) Clone(repo string) error

func (*Flake) Create

func (f *Flake) Create(force bool, symlink bool) error

func (*Flake) IsGitRepo

func (f *Flake) IsGitRepo() (bool, error)

func (*Flake) IsJoin

func (f *Flake) IsJoin() (bool, error)

func (*Flake) Join

func (f *Flake) Join() error

func (*Flake) MayPull

func (f *Flake) MayPull() error

func (*Flake) ReadConfig

func (f *Flake) ReadConfig() error

func (*Flake) Update

func (f *Flake) Update() error

func (*Flake) Write

func (f *Flake) Write(includeSystems bool, message string) error

Write writes the applied flake configuration

Jump to

Keyboard shortcuts

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