mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
27267547b9
The SFTP protocol (and the golang sftp package) internally uses uint32 unix time for expressing mtime. Hence it is a waste of memory to store it as 24-byte time.Time data structure in long-lived data structures. So despite that the golang sftp package uses time.Time as external interface, we can re-encode the value back to the original format and save memory. Co-authored-by: Tomasz Melcer <tomasz@melcer.pl> |
||
---|---|---|
.. | ||
sftp_internal_test.go | ||
sftp_test.go | ||
sftp_unsupported.go | ||
sftp.go | ||
ssh_external.go | ||
ssh_internal.go | ||
ssh.go | ||
stringlock_test.go | ||
stringlock.go |