utils

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeterminePluginSrcRoot

func DeterminePluginSrcRoot(fSys filesys.FileSystem) (string, error)

DeterminePluginSrcRoot guesses where the user has her ${g}/${v}/$lower(${k})/${k}.go files.

func FileExists

func FileExists(path string) bool

func FileModifiedAfter

func FileModifiedAfter(path string, t time.Time) bool

FileModifiedAfter returns true if the file both exists and was modified after the given time..

func FileYoungerThan

func FileYoungerThan(path string, d time.Duration) bool

FileYoungerThan returns true if the file both exists and has an age is <= the Duration argument.

func GoBin

func GoBin() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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