file

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateSHA1

func CalculateSHA1(f *os.File) string

func IsAudio

func IsAudio(path string) bool

func IsExtAudio

func IsExtAudio(ext string) bool

func IsExtImage

func IsExtImage(ext string) bool

func IsExtLyric

func IsExtLyric(ext string) bool

func ListAllFiles

func ListAllFiles(rawPath string) (ret []string)

func ListAllFilesSplit

func ListAllFilesSplit(rawPath string) (base []string, ext []string)

This method will return two slices, one for base name, one for extension

func ReadMetadata

func ReadMetadata(path string) (ret structure.Song, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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