sort

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(media []models.Media, method Method, reverse bool, natural bool)

Types

type Method

type Method string
const (
	ByPath         Method = "path"
	ByTitle        Method = "title"
	ByDuration     Method = "duration"
	BySize         Method = "size"
	ByTimeCreated  Method = "time_created"
	ByTimeModified Method = "time_modified"
	ByTimePlayed   Method = "time_last_played"
	ByPlayCount    Method = "play_count"
)

Jump to

Keyboard shortcuts

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