util

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: MIT Imports: 4 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

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