mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
set version to 2.4.5
backport the latest patch from main Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -228,7 +228,7 @@ func (fs *GCSFs) Create(name string, flag, checks int) (File, *PipeWriter, func(
|
||||
// rename all the contents too and this could take long time: think
|
||||
// about directories with thousands of files, for each file we should
|
||||
// execute a CopyObject call.
|
||||
func (fs *GCSFs) Rename(source, target string) error {
|
||||
func (fs *GCSFs) Rename(source, target string) error { //nolint:gocyclo
|
||||
if source == target {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user