Skip to content

Releases: go-pkgz/fileutils

Release v0.4.0

06 Apr 08:13
857dc8c

Choose a tag to compare

v0.4.0 Release Notes

New Features

  • FileWatcher: Added file system monitoring functionality

    • : Create a watcher for a specific file or directory
    • : Watch a directory recursively for changes
    • Support for adding and removing paths from watchers
    • Event types include Create, Write, Remove, Rename, and Chmod
  • Checksum: Added file checksum calculation with multiple hash algorithms

    • Support for MD5, SHA1, SHA224, SHA256, SHA384, SHA512, SHA512_224, and SHA512_256
    • Simple API for calculating checksums with any supported algorithm

Improvements

  • Updated GitHub workflow with latest golangci-lint
  • Added comprehensive documentation and examples
  • Enhanced code quality and test coverage

Version 0.3.0

16 Feb 23:17

Choose a tag to compare

What's Changed

  • Enhance file utilities with secure temp file generation, MoveFile, aнd TouchFile by @umputun in #2

Full Changelog: v0.2.0...v0.3.0

Version 0.2.0

21 Feb 06:32

Choose a tag to compare

  • bump go version to 1.19
  • add SanitizePath func
  • add TempFileName func
  • add check for size match after copy

Full Changelog: v0.1.0...v0.2.0

Version 0.1.0

31 Jul 07:58

Choose a tag to compare

initial release