Releases
v0.5.0
Fixed
Fix renames a dir will not trigger the Write
event on some Windows environments.
When remove or rename a file, remove the invalid file info.
If the file exists in MinIO server, don't create the empty file.
If login success, don't print the real password to the log.
Fix use of insecure HostKeyCallback
implementation by adding the ssh_key
flag.
Fix adding a nil cookie to request will cause panic.
Fix the data race in the Conn
.
Fix the data race of the closed
in the tcpServer
.
Enhancements
Add the fs.IsSub
function and tests.
Add the encrypt
, encrypt_path
, encrypt_secret
, decrypt
, decrypt_path
, decrypt_secret
and decrypt_out
flags to support encrypt and decrypt.
Add the progress
flag to support print the sync progress.
Add the sync_workers
flag to set the number of file sync workers.
Add the log_split_date
flag to support split log file by date and update README docs.
Code refactoring, extracts errNilTranConn
error and rename the errNilConn
to errNilNetConn
.
Code refactoring, replace the type embedding with field combination in the tran.Conn
.
Code refactoring, use the Option
to pass parameter when creates the instance of Sync
.
Rename the minIOClient
to minIODriver
, and replace the type embedding with field combination in the minIODriver
.
Rename the sftpClient
to sftpDriver
, and replace the type embedding with field combination in the sftpDriver
.
Update the examples about MinIO, add the secure
parameter with the default value.
If the current path's parent directory is in the writeMap
, then ignore the current path.
Reduce push the files that are not modified to server.
Add some tests for the util/httputil
package.
Add some tests for the tran
package.
Update dependency, github.com/schollz/progressbar/v3 v3.11.0 => v3.12.1.
Update dependency, github.com/minio/minio-go/v7 v7.0.37 => v7.0.42.
Update dependency, github.com/fsnotify/fsnotify v1.5.4 => v1.6.0.
Update dependency, github.com/no-src/log v0.1.7 => v0.1.8.
Create codeql.yml.
Remove the chat badge.
You can’t perform that action at this time.