Better than Pathname
Get extended attribute:
FSPath('/a/b/c').xattr['com.macromates.caret']
Set extended attribute:
FSPath('/a/b/c').xattr['good'] = 'bad'
Set extended attribute on symlink itself:
FSPath('/a/b/c').lxattr['good'] = 'bad'
Copyright (c) 2010-2019 Ivan Kuchin. See LICENSE.txt for details.