mods

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(src string, dest string) error

Copy folder from src to dest

func Download

func Download(name string, db dbtype.DBType) (*os.File, error)

Download a nonpacked mod by name with db source

func Extract

func Extract(fileDesc *os.File) (string, error)

Extract a zip file and returns the extracted path extracted path empty if it failed

func FindPackage

func FindPackage(basePath string, name string) string

FindPackage by some basePath using the canonical name of the mod returns an empty string if not found

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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