Skip to content

Latest commit

 

History

62 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

FSPath methods xattr and lxattr to work with extended attributes using ffi-xattr gem

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages