testutil

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeProbe

func MakeProbe(codec string, bitrate, height int, duration time.Duration) ffmpeg.VideoStats

func MakeTempFS

func MakeTempFS(t *testing.T, videoFiles []string) string

Types

type FakeDirEntry

type FakeDirEntry struct {
	FModTime time.Time
	FName    string
	FIsDir   bool
}

func (FakeDirEntry) Info

func (f FakeDirEntry) Info() (fs.FileInfo, error)

func (FakeDirEntry) IsDir

func (f FakeDirEntry) IsDir() bool

func (FakeDirEntry) Name

func (f FakeDirEntry) Name() string

func (FakeDirEntry) Type

func (f FakeDirEntry) Type() fs.FileMode

Jump to

Keyboard shortcuts

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