filesys

package
v0.0.0-...-95b0b6d Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAllVideos

func FindAllVideos(config data.Config) (data.VideoDirectories, data.VideoDict)

FindAllVideos Walks throug the specified directories in the provided jsonFile * looking for videos. if the jsonFile string is empty or an invalid path then * only the /home/$USER/Videos directory will be searched. * If the jsonFile string is an invalid path a waring will be logged. * All the found videos are grouped by the container directories using the * VideoDir struct. * A slice of all the directories containing videos is returned. The slice is * sorted using the directory path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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