Skip to content

Releases: maargenton/go-fileutils

v0.6.4

19 Nov 07:32
af8e2ee
Compare
Choose a tag to compare
  • Fix issue with dir.Glob('**/*') not scanning subdirectories.
  • Move Walk() function and associated definition to dir sub-package.

Code changes

  • Move Walk() function to dir sub-package (#13)
  • Fix issue with dir.Glob('**/*') not scanning subdirectories (#14)

v0.6.3

14 Nov 00:07
20c7398
Compare
Choose a tag to compare
  • popen.Command now supports graceful shutdown of the child process or child
    process group on Unix platforms when the associated context is canceled.
  • Fix handling of ./ prefix in dir.GlobMatcher, dir.Glob...() and
    dir.Scan().

Code changes

  • Add graceful shutdown options to popen.Command (#10)
  • Fix handling of ./ prefix in glob pattern and filesystem scanning (#11)

v0.6.2

01 Mar 07:13
378d8b1
Compare
Choose a tag to compare
  • dir.Glob() and associated function can now match patterns that are an
    explicit filename instead of a glob pattern.

v0.6.1

14 Sep 06:03
b016f70
Compare
Choose a tag to compare

v0.6.0

13 Sep 01:21
Compare
Choose a tag to compare

Major changes

  • Fix all major compatibility issues and inconsistencies with Windows platform.
  • Provide full set of functions dealing with filenames, using '/' as path
    separator independently of the platform.
  • Remove experimental sub-packages, previously located under pkg/x

v0.5.0

07 Sep 22:00
6ebdd98
Compare
Choose a tag to compare

Major changes

  • Rename project to github.com/maargenton/go-fileutils
  • Switch dir.Glob() and all to using new filepath.WalkDir() (from go v1.16)
    for efficiency.
  • Move rewrite of dir.Walk() to main package fileutils.Walk()
  • Fix inconsistencies in paths returned by walk and glob functions, including
    adding a trailing path separator for directory filenames.
  • Move additional packages under pkg/
  • Move experimental packages under pkg/x/