# README
symlinks
import "github.com/jan-xyz/dotfiles/internal/plugins/symlinks"
Package symlinks allows managing symlinks.
Index
type Link
Link holds the information for a single symbolic link
type Link struct {
SourceFile string
LinkName string
}
type Plugin
Plugin holds the information to automatically create a list of symbolic links.
type Plugin struct {
Links []Link
Commander dotfiles.Commander
}
func (Plugin) Add
func (s Plugin) Add(links []string) error
Add takes a list of links for creation.
func (Plugin) GetMissingPackages
func (s Plugin) GetMissingPackages() ([]string, error)
GetMissingPackages returns a list of sym links which are configured but not created.
func (Plugin) Update
func (s Plugin) Update() error
Update is not implemented.
Generated by gomarkdoc