utils

package
v0.0.0-...-075ee23 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(list []string) []string

Copy returns a copy of a list slice This is intended for evaluating contender clusters where we change the list (and need to reuse it later)

func Diff

func Diff(one, two []string) []string

Diff returns the difference between two sets of strings

func PathExists

func PathExists(path string) (bool, error)

PathExists determines if a path exists

func ShuffleJobs

func ShuffleJobs(jobs []int32) []int32

ShuffleJobs randomly shuffles jobs

Types

This section is empty.

Jump to

Keyboard shortcuts

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