mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 11:39:46 +08:00
feat: add season package download ability
This commit is contained in:
@@ -29,8 +29,8 @@ func NewWebdavStorage(url, user, password, path string) (*WebdavStorage, error)
|
||||
}
|
||||
|
||||
func (w *WebdavStorage) Move(local, remote string) error {
|
||||
baseLocal := filepath.Base(local)
|
||||
remoteBase := filepath.Join(w.dir,remote, baseLocal)
|
||||
|
||||
remoteBase := filepath.Join(w.dir,remote)
|
||||
|
||||
//log.Infof("remove all content in %s", remoteBase)
|
||||
//w.fs.RemoveAll(remoteBase)
|
||||
|
||||
Reference in New Issue
Block a user