utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFiles added in v0.5.0

func LoadFiles(root string, ignoredPatterns []string) (map[string]*os.File, error)

LoadFiles return filtered map of files; for filtering it uses shell file name pattern matching

func ReadIgnoreFile added in v0.5.0

func ReadIgnoreFile(dir string) ([]string, error)

ReadIgnoreFile reads .apexignore in `dir` when present and returns a list of patterns.

func Sha256

func Sha256(b []byte) string

Sha256 returns a base64 encoded SHA256 hash of `b`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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