vangogh_urls

package module
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: MIT Imports: 11 Imported by: 5

README

vangogh_urls

URLs used by vangogh

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsDirByImageId added in v0.1.3

func AbsDirByImageId(imageId string) string

func AbsDirByVideoId added in v0.1.3

func AbsDirByVideoId(videoId string) string

func AbsExtractsDir added in v0.1.5

func AbsExtractsDir() string

func AbsImagesDir added in v0.1.3

func AbsImagesDir() string

func AbsLocalImagePath added in v0.1.3

func AbsLocalImagePath(imageId string) string

func AbsLocalProductsDir added in v0.1.3

func AbsLocalProductsDir(pt vangogh_products.ProductType, mt gog_atu.Media) (string, error)

func AbsLocalVideoPath added in v0.1.3

func AbsLocalVideoPath(videoId string) string

func AbsMetadataDir added in v0.1.3

func AbsMetadataDir() string

func AbsProductDownloadsDir added in v0.1.3

func AbsProductDownloadsDir(slug string) (string, error)

func AbsRecycleBinDir added in v0.1.3

func AbsRecycleBinDir() string

func AbsVideosDir added in v0.1.3

func AbsVideosDir() string

func CanValidate

func CanValidate(filePath string) bool

func ChRoot added in v0.1.3

func ChRoot(rd string)

func DownloadDirRelToAbs added in v0.1.3

func DownloadDirRelToAbs(p string) string

func LocalChecksumPath

func LocalChecksumPath(p string) string

func LocalImageIds

func LocalImageIds() (gost.StrSet, error)

func LocalSlugDownloads

func LocalSlugDownloads(slug string) (gost.StrSet, error)

func LocalVideoIds

func LocalVideoIds() (gost.StrSet, error)

func PropImageUrls

func PropImageUrls(imageIds []string, it vangogh_images.ImageType) ([]*url.URL, error)

func Pwd added in v0.1.11

func Pwd() string

func RecycleBinDirs

func RecycleBinDirs() (gost.StrSet, error)

func RecycleBinFiles

func RecycleBinFiles() (gost.StrSet, error)

func RelDLCDir added in v0.1.3

func RelDLCDir() string

func RelExtrasDir added in v0.1.3

func RelExtrasDir() string

func RelProductDownloadsDir added in v0.1.3

func RelProductDownloadsDir(slug string) (string, error)

func RelSkipListPath added in v0.1.13

func RelSkipListPath() string

func RemoteChecksumPath

func RemoteChecksumPath(p string) string

func UrlFlag added in v0.1.6

func UrlFlag(u *url.URL, arg string) bool

func UrlImageTypes added in v0.1.7

func UrlImageTypes(u *url.URL) []vangogh_images.ImageType

func UrlMedia added in v0.1.8

func UrlMedia(u *url.URL) gog_atu.Media

func UrlProductType added in v0.1.8

func UrlProductType(u *url.URL) vangogh_products.ProductType

func UrlProperties added in v0.1.9

func UrlProperties(u *url.URL) []string

func UrlProperty added in v0.1.10

func UrlProperty(u *url.URL) string

func UrlValue added in v0.1.6

func UrlValue(u *url.URL, arg string) string

func UrlValues added in v0.1.6

func UrlValues(u *url.URL, arg string) []string

Types

type ProductTypeUrl

type ProductTypeUrl func(string, gog_atu.Media) *url.URL

func RemoteProductsUrl

func RemoteProductsUrl(pt vangogh_products.ProductType) (ptUrl ProductTypeUrl, err error)

Jump to

Keyboard shortcuts

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