Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 1.4 KB

File metadata and controls

24 lines (13 loc) · 1.4 KB

Check Zizmor

fspath

Better than Pathname

Extended attributes (using xattr gem)

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

Copyright (c) 2010-2019 Ivan Kuchin. See LICENSE.txt for details.