dotfiles

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteManagedFiles added in v0.2.10

func DeleteManagedFiles(managedFiles []string, dryRun bool) []string

DeleteManagedFiles deletes all files listed in managedFiles. If dryRun is true, no files are deleted but those that would be deleted are returned. It returns a slice of files that could not be deleted.

func Install

func Install(dir string, mode string, dryRun bool) error

Types

type File

type File struct {
	Source         string
	Target         string
	IsTemplateFile bool
}

Jump to

Keyboard shortcuts

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