handler

package
v0.0.0-...-73db231 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteUntil

func DeleteUntil(conn *ssh.Client, its domain.Items, current float64, until float64, dry bool)

DeleteUntil deletes files until it reaches a certain amount of free space

func GetContents

func GetContents(conn *ssh.Client, dirs []string) (domain.Items, error)

GetContents lists all the contents from the remote host

func GetFreeSpace

func GetFreeSpace(conn *ssh.Client, mount string) (float64, error)

GetFreeSpace returns the free space on the host

func RefreshLibrary

func RefreshLibrary(host string) error

RefreshLibrary refreshes the player library

Types

This section is empty.

Jump to

Keyboard shortcuts

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