Files
Go_I2p/lib/util
2025-03-09 13:52:15 -04:00
..
2025-02-26 21:03:51 -05:00
2025-02-26 21:03:51 -05:00
2017-08-27 10:48:34 -04:00
2025-03-04 23:59:38 +00:00
2017-08-27 09:59:22 -04:00
2025-02-26 21:03:51 -05:00
2025-02-26 20:52:16 -05:00

util

-- import "github.com/go-i2p/go-i2p/lib/util"

util.svg

Usage

func CheckFileAge

func CheckFileAge(fpath string, maxAge int) bool

Check if a file is more than maxAge minutes old returns false if

func CheckFileExists

func CheckFileExists(fpath string) bool

Check if a file exists and is readable etc returns false if not

func CloseAll

func CloseAll()

func Panicf

func Panicf(format string, args ...interface{})

Panicf allows passing formated string to panic()

func RegisterCloser

func RegisterCloser(c io.Closer)

util

github.com/go-i2p/go-i2p/lib/util