utils

package
v0.2.47 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilesSize added in v0.1.6

func GetFilesSize(paths []string) (int64, error)

func ItemExists

func ItemExists(slice interface{}, item interface{}) bool

func Keys added in v0.2.45

func Keys[K comparable, V any](m map[K]V) []K

func MatchPrefix added in v0.0.89

func MatchPrefix(stringArray []string, prefix string) string

func Move added in v0.2.44

func Move(src, dst string) error

func MoveDirectory added in v0.2.44

func MoveDirectory(src, dst string) error

func MoveFile added in v0.2.44

func MoveFile(src, dst string) error

func RemoveDuplicates added in v0.0.38

func RemoveDuplicates(intSlice []int) []int

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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