Skip to content

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

License

Notifications You must be signed in to change notification settings

toy/fspath-xattr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fspath

Better than Pathname

Build Status

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages