files

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddModFiles

func AddModFiles(enabler *mods.ModEnabler, files []*mods.DownloadFiles, done mods.DoneCallback)

func InitializeManagedFiles

func InitializeManagedFiles() error

func MoveDirs

func MoveDirs(game config.Game, dirs []*mods.ModDir, modDir string, toDir string, backupDir string, replacedFiles *[]*mods.ModFile, movedFiles *[]*mods.ModFile, returnOnFail bool) (err error)

func MoveFile

func MoveFile(action action, from, to string, files *[]*mods.ModFile) (err error)

func MoveFiles

func MoveFiles(files []*mods.ModFile, modDir string, toDir string, backupDir string, backedUp *[]*mods.ModFile, movedFiles *[]*mods.ModFile, returnOnFail bool) (err error)

func RemoveModFiles

func RemoveModFiles(game config.Game, tm *mods.TrackedMod) (err error)

func ResolveConflicts

func ResolveConflicts(enabler *mods.ModEnabler, managedFiles map[mods.ModID]*modFiles, modFiles []*mods.DownloadFiles, done mods.DoneCallback)

Types

type ArchiveMover

type ArchiveMover interface {
}

func NewArchiveMover

func NewArchiveMover() ArchiveMover

Jump to

Keyboard shortcuts

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