Documentation ¶
Index ¶
- func AssertArchiveContainsFile(t testing.TB, files []*zip.File, name string)
- func CreateTempArchive(t testing.TB, name string) (*os.File, func())
- func Find[T any](elements []T, cb func(element T) bool) (T, bool)
- func GetAllFiles(t testing.TB, dirPath string) []fs.FileInfo
- func GetArchiveReader(t testing.TB, name string) *zip.ReadCloser
- func GetFileInfo(t testing.TB, name string) fs.FileInfo
- func GetOutput(t testing.TB, cmd *exec.Cmd) string
- func Map[T, K any](elements []T, cb func(element T) K) []K
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArchiveReader ¶
func GetArchiveReader(t testing.TB, name string) *zip.ReadCloser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.