util

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinMark

func BinMark(c *hashcache.CheckSumCache, download string) error

BinMark marks a file as binary and update meta data checksum

func Cp

func Cp(src string, dst string) error

Cp copies a file

func Mv

func Mv(src string, dst string) error

Mv wraps the os.rename and will copy on error

func SymLink(linkFile, destination string) error

SymLink can create links even when golang cannot

Types

type Creds added in v0.3.8

type Creds struct {
	Username string
	Password string
}

A credential structure

Jump to

Keyboard shortcuts

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