deployr: github.com/skx/deployr/util Index | Files

package util

import "github.com/skx/deployr/util"

Index

Package Files

util.go

func FileExists Uses

func FileExists(name string) bool

FileExists reports whether the named file or directory exists.

func HasSSHAgent Uses

func HasSSHAgent() bool

HasSSHAgent reports whether the SSH agent is available

func HashFile Uses

func HashFile(filePath string) (string, error)

HashFile returns the SHA1-hash of the contents of the specified file.

Package util imports 4 packages (graph) and is imported by 2 packages. Updated 2019-04-20. Refresh now. Tools for package owners.