mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: after uploading finished hook
This commit is contained in:
8
pkg/util/path.go
Normal file
8
pkg/util/path.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package util
|
||||
|
||||
import "strings"
|
||||
|
||||
// DotPathToStandardPath 将","分割的路径转换为标准路径
|
||||
func DotPathToStandardPath(path string) string {
|
||||
return "/" + strings.Replace(path, ",", "/", -1)
|
||||
}
|
||||
Reference in New Issue
Block a user