Class | RFuse::FuseDelegator |
In: |
lib/rfuse.rb
|
Parent: | Fuse |
This class is useful to make your filesystem implementation debuggable and testable without needing to mount an actual filesystem or inherit from {Fuse}
FUSE_METHODS | = | [ :getattr, :readlink, :getdir, :mknod, :mkdir, :unlink, :rmdir, :symlink, :rename, :link, :chmod, :chown, :truncate, :utime, :open, :create, :read, :write, :statfs, :flush, :release, :fsync, :setxattr, :getxattr, :listxattr,:removexattr, :opendir, :readdir, :releasedir, :fsycndir, :init, :destroy, :access, :ftruncate, :fgetattr, :lock, :utimens, :bmap, :ioctl, :poll ] |
Available fuse methods -see fuse.sourceforge.net/doxygen/structfuse__operations.html
Note :getdir and :utime are deprecated :ioctl, :poll are not implemented in the C extension |
@param [Object] fuse_object your filesystem object that responds to fuse methods @param [String] mountpoint existing directory where the filesystem will be mounted @param [String…] options fuse mount options (use "-h" to see a list)
Create and mount a filesystem
Set debugging on or off @param [Boolean] value enable or disable debugging @return [Boolean] the new debug value @since 1.1.0