pkg

package
v0.0.0-...-2cec6bb Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Get All Files in watched directory

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileIsImage

func FileIsImage(filePath string) bool

func FileIsVideo

func FileIsVideo(filePath string) bool

func GetFrame

func GetFrame(filepath string, timestamp int64) (io.Reader, error)

func GetPosterPathInFolder

func GetPosterPathInFolder(path string) string

func GetWatchedFiles

func GetWatchedFiles(rootDir string) []string

func Map

func Map[T, U any](ts []T, f func(T, int) U) []U

Applies `f` to each element of ts

func ParseFloat

func ParseFloat(str string) float32

func ParseTime

func ParseTime(str string) float32

func ParseUint64

func ParseUint64(str string) uint64

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