Skip to content

Releases: pkg/xattr

xattr 0.4.0

26 Oct 21:07
Compare
Choose a tag to compare

Release notes:

  • support "F" variants of operations (on file descriptors)

It's possible to create files without a path, for example by using O_TMPFILE flag in open(2).
This release adds a set of "F" variants to all functions that accepts a file descriptor instead of a path.
The change is only implemented for Linux, all other platforms use Name() call on a file to get its path.

xattr 0.3.1

28 Jul 22:41
ae385d0
Compare
Choose a tag to compare

Release notes:

  • xattr.Get fix potential ERANGE error (on linux) and/or truncated value (on darwin)
  • Replace syscalls by unix for linux.

xattr 0.3.0

27 May 10:39
Compare
Choose a tag to compare

Release notes:

  • Check if filesystem supports xattr
  • xattr.Set can take flags parameter (xattr.SetWithFlags)
  • LGet, LSet, ... - L functions do not follow symlinks.

This release requires an update of sys/unix package (see go.mod): go get -u golang.org/x/sys/unix

xattr 0.2.3

16 Mar 11:26
1d7b7ff
Compare
Choose a tag to compare

Building against following versions (linux, osx):

  • 1.8.x
  • 1.9.x
  • 1.10

Bugfixes:

  • List fails with ERANGE error when reading from a SMB1 mount point (#16).

xattr 0.2.2

23 Feb 11:35
Compare
Choose a tag to compare

Enhancements:

  • Check if filesystem supports xattr.
  • Add vgo module file (go.mod).

xattr 0.2.1

22 Jul 15:34
Compare
Choose a tag to compare

Bugfixes:

  • Fix panic: runtime error: index out of range when calling Set with no data ( #12).

xattr 0.2.0

10 Mar 12:38
Compare
Choose a tag to compare

API changes:

  • Remove stutter
  • Minor formatting fixes

xattr 0.1.0

06 Mar 17:49
Compare
Choose a tag to compare

Initial release 0.1.0