util

package
v0.16.6 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2015 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MD5sMatch

func MD5sMatch(localFile, remotePath string) (bool, error)

MD5sMatch determines if a local MD5 matches a remote MD5

func StringToIP

func StringToIP(s string) string

StringToIP generates an IPv4 address based off the app name for use as a vagrant private_network IP.

func StringToPort

func StringToPort(s string) string

StringToPort generates a unique network port to allow running multiple vms at once

func VboxExists added in v0.16.6

func VboxExists() (exists bool)

VboxExists ensure virtualbox is installed; if ever there is a virtualbox package this can be moved there

Types

type Util

type Util interface {
	MD5sMatch(string, string) (bool, error)
}
var (
	Default Util = util{}
)

Directories

Path Synopsis
s3
these are handlers that are passed into the util/notify/Watch command; they are called each time a file event happens
these are handlers that are passed into the util/notify/Watch command; they are called each time a file event happens

Jump to

Keyboard shortcuts

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