utils

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressRange added in v0.3.0

func AddressRange(network *net.IPNet) (net.IP, net.IP)

AddressRange returns the first and last addresses in the given CIDR range.

func IsMountPoint added in v1.3.0

func IsMountPoint(path string) (bool, error)

func RandStringRunes added in v0.1.0

func RandStringRunes(n int) string

func ReadVCSInfos added in v1.3.0

func ReadVCSInfos() (bool, string, bool, time.Time)

func Touch added in v0.1.0

func Touch(path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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