feat: add upyun-uss
driver
This commit is contained in:
13
drivers/uss/util.go
Normal file
13
drivers/uss/util.go
Normal file
@ -0,0 +1,13 @@
|
||||
package uss
|
||||
|
||||
import "strings"
|
||||
|
||||
// do others that not defined in Driver interface
|
||||
|
||||
func getKey(path string, dir bool) string {
|
||||
path = strings.TrimPrefix(path, "/")
|
||||
if dir {
|
||||
path += "/"
|
||||
}
|
||||
return path
|
||||
}
|
Reference in New Issue
Block a user