package
0.3.4
Repository: https://github.com/jan-xyz/dotfiles.git
Documentation: pkg.go.dev

# 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

# Structs

Link holds the information for a single symbolic link.
Plugin holds the information to automatically create a list of symbolic links.