Sha256: b70328d05e353e3f40c4a8054094fa2447794d61b64dbd30b782ea597d8749ab
Contents?: true
Size: 252 Bytes
Versions: 2
Compression:
Stored size: 252 Bytes
Contents
require 'fspath' require 'ffi-xattr' class FSPath < Pathname # Xattr instance for path def xattr Xattr.new(@path) end # Xattr instance for path which doesn't follow symlinks def lxattr Xattr.new(@path, :no_follow => true) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fspath-1.2.0-darwin | lib/fspath/xattr.rb |
fspath-1.2.0 | lib/fspath/xattr.rb |