utils

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

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteObjects

func DeleteObjects(storage oss.StorageInterface, paths []string) (err error)

func RemoveUselessArchiveFiles

func RemoveUselessArchiveFiles(list []string) (result []string)

func Upload

func Upload(storage oss.StorageInterface, path string, reader io.Reader) (err error)

Types

type DeleteObjecter

type DeleteObjecter interface {
	DeleteObjects(paths []string) (err error)
}

Jump to

Keyboard shortcuts

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