Skip to content

Releases: no-src/gofs

v0.0.3

19 Nov 19:45
Compare
Choose a tag to compare

Fixed

  • Fix start the subprocess error with a relative path.
  • Fix remote client sync loses some messages maybe when processing messages slowly, use msg_queue param to customize message channel buffer size, default is 500 now.
  • Fix not to truncate file before write to the target file.
  • Make flag variable private.

Enhancements

  • Parse src and target params to VFS struct by rs custom protocol.
  • Add basic remote file sync and remote file sync once.
  • Add a simple file query api.
  • Support sync file atime and mtime attributes to target file.
  • Support force wait to retry execute finished, and add RetryCount and RetryWait func for Retry interface.

v0.0.2

08 Oct 05:52
Compare
Choose a tag to compare

Fixed

  • Chmod not implemented and no panic, just output a debug log.
  • Fix rename or modify file will not write data to target file.
  • Fix send a Write event manually is blocked, because the Events channel is not buffered on Non-Windows.
  • Use file md5 check to reduce the Write action execute repeatedly.
  • Fix log file directory permission denied.

Enhancements

  • Add a simple file server to browse source directory and target directory.
  • Use log.Log to print version info.
  • Output the write file progress to debug log.
  • Add retry_async flag, control retry execute synchronously or asynchronously, default is execute synchronously.
  • Use no_server tags to disable file server built in program.

v0.0.1

30 Sep 08:13
Compare
Choose a tag to compare

Enhancements

  • Add support to monitor the source directory and sync changes to the target directory.
  • Add support to sync the source directory to the target directory once.
  • Add support to start the daemon to create a work process and keep the worker alive.