tmp

package
v0.0.13-beta Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDir added in v0.0.11

func CacheDir() folder.Folder

CacheDir returns the cache directory for Godyl.

func ConfigDir added in v0.0.11

func ConfigDir() folder.Folder

ConfigDir returns the config directory for Godyl.

func ConfigFile added in v0.0.13

func ConfigFile() file.File

func DownloadDir added in v0.0.11

func DownloadDir() folder.Folder

DownloadDir returns the download directory for Godyl.

func GodylCreateRandomDir

func GodylCreateRandomDir() (folder.Folder, error)

GodylCreateRandomDir creates a random directory in the Godyl temporary directory.

func GodylCreateRandomDirIn

func GodylCreateRandomDirIn(dir folder.Folder) (folder.Folder, error)

GodylCreateRandomDirIn creates a random directory in the specified directory.

func GodylDir

func GodylDir(paths ...string) folder.Folder

GodylDir returns the temporary directory for Godyl. Optionally pass in subdirectories to create a path within the Godyl directory.

func Prefix

func Prefix() string

Prefix returns the prefix used for Godyl temporary directories.

func UserRuntimeDir added in v0.0.11

func UserRuntimeDir() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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