Documentation ¶
Index ¶
- func CreateTemp(pattern string) (*os.File, error)
- func DownloadFile(ctx context.Context, url string, hash string) error
- func GetCachePath() string
- func GetRootPath() string
- func GetTmpPath() string
- func Initialize()
- func MkdirTemp(pattern string) (string, error)
- func PrepareFile(ctx context.Context, url string, hash string) (string, error)
- func Upload(ctx context.Context, url string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCachePath ¶
func GetCachePath() string
func GetRootPath ¶
func GetRootPath() string
func GetTmpPath ¶
func GetTmpPath() string
func Initialize ¶
func Initialize()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.