modules: add v2 support

This commit is contained in:
Nicola Murino
2021-06-26 07:31:41 +02:00
parent 93dfb03eaf
commit 076b2f0ee0
129 changed files with 454 additions and 446 deletions

View File

@@ -13,11 +13,11 @@ import (
"github.com/go-chi/render"
"github.com/drakkan/sftpgo/common"
"github.com/drakkan/sftpgo/dataprovider"
"github.com/drakkan/sftpgo/logger"
"github.com/drakkan/sftpgo/utils"
"github.com/drakkan/sftpgo/vfs"
"github.com/drakkan/sftpgo/v2/common"
"github.com/drakkan/sftpgo/v2/dataprovider"
"github.com/drakkan/sftpgo/v2/logger"
"github.com/drakkan/sftpgo/v2/utils"
"github.com/drakkan/sftpgo/v2/vfs"
)
func validateBackupFile(outputFile string) (string, error) {