Releases: pkg/xattr
Releases · pkg/xattr
xattr 0.4.0
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
Release notes:
xattr.Get
fix potentialERANGE
error (on linux) and/or truncated value (on darwin)- Replace
syscalls
byunix
for linux.
xattr 0.3.0
Release notes:
- Check if filesystem supports xattr
xattr.Set
can takeflags
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
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
Enhancements:
- Check if filesystem supports xattr.
- Add
vgo
module file (go.mod
).
xattr 0.2.1
Bugfixes:
- Fix
panic: runtime error: index out of range
when callingSet
with no data ( #12).
xattr 0.2.0
API changes:
- Remove stutter
- Minor formatting fixes
xattr 0.1.0
Initial release 0.1.0