common

package
v0.0.0-...-42a5167 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindSingleMatchInDir

func FindSingleMatchInDir(dir string, pattern string) (string, error)

FindSingleMatchInDir checksif there is a single file matching pattern in the directory or returns an error

func IsFile

func IsFile(path string) bool

IsFile checks if file exists

func IsSymlink(path string) bool

IsSymlink checks if path is a symlink

func Sha256String

func Sha256String(s string) string

Sha256String computes the SHA256 of string

Types

This section is empty.

Jump to

Keyboard shortcuts

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