293e239e18
full diff: https://github.com/containerd/continuity/compare/26c1120b8d4107d2471b93ad78ef7ce1fc84c4c4...efbc4488d8fe1bdc16bde3b2d2990d9b3a899165 Relevant changes: - sysx/xattr: fix and improve - fix getxattrAll: change initial buffer size to 128 to prevent unneeded iterations and change the logic to get the real size in case we get ERANGE rather than doubling the buffer) - improve listxattrAll; refactor for readability, prevent calling `listxattr()` twice. Handle condition when attributes size is changed in between the two calls to listxattr(). - Remove Windows' Readlink fork - Drops support for Go 1.12 and under - Fix sameFile() to recognize empty files as the same - fixes "Empty files can diff as "modified" even when they're not" Signed-off-by: Sebastiaan van Stijn <github@gone.nl>