mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
preserve metadata on copy/rename
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -160,7 +160,7 @@ type FsRealPather interface {
|
||||
// FsFileCopier is a Fs that implements the CopyFile method.
|
||||
type FsFileCopier interface {
|
||||
Fs
|
||||
CopyFile(source, target string, srcSize int64) (int, int64, error)
|
||||
CopyFile(source, target string, srcInfo os.FileInfo) (int, int64, error)
|
||||
}
|
||||
|
||||
// File defines an interface representing a SFTPGo file
|
||||
|
||||
Reference in New Issue
Block a user