rclone

package
v1.0.2-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RemoteSource       = "src:"
	RemoteDestination  = "dest:"
	RenamingStyleAnime = "anime"
	RenamingStyleTv    = "tv"
	RenamingStyleNone  = "none"
)

Variables

View Source
var (
	Put *putio.Put
)

Functions

func RenameFileInAnimeStyle

func RenameFileInAnimeStyle(filename string) string

func RenameFileInTvStyle

func RenameFileInTvStyle(filename string) string

func SendFileIdToWorker

func SendFileIdToWorker(fileId int64)

func Start

func Start()

func Stop

func Stop()

Types

type EpisodeInfo

type EpisodeInfo struct {
	Group   string
	Show    string
	Season  int
	Episode string
	Version int
	Extra   string
}

func ParseEpisodeInfo

func ParseEpisodeInfo(filename string) *EpisodeInfo

type Remote added in v1.0.1

type Remote fspath.Parsed

func (*Remote) FullPath added in v1.0.1

func (r *Remote) FullPath(p string, ignorePath bool) string

func (*Remote) IsValid added in v1.0.1

func (r *Remote) IsValid(p string) bool

type RemoteConfig

type RemoteConfig struct {
	Type  string `json:"type"`
	Token string `json:"token"`
}

type RemotePutIoToken

type RemotePutIoToken struct {
	AccessToken string `json:"access_token"`
	Expiry      string `json:"expiry"`
}

Jump to

Keyboard shortcuts

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