Versions in this module Expand all Collapse all v0 v0.5.1 Nov 23, 2018 Changes in this version + var ErrOutsideRepo = errors.New("target file outside repository") + func EvaluateFilePath(repository, urlpath string) (string, error) + func IsInRepository(repository, filePath string) bool + func Sha256sum(path string) ([]byte, error) + type FileInfo struct + Md5 string + ModTime time.Time + Path string + Sha1 string + Sha256 string + Size int64 + func HashFile(path string) (hashes FileInfo, err error) + func NewFileInfo(path string) FileInfo