class VirtFS::NativeFS::Thick

Attributes

mount_point[RW]
name[RW]

Public Class Methods

new(root = VfsRealFile::SEPARATOR) click to toggle source
# File lib/virtfs/nativefs/thick.rb, line 11
def initialize(root = VfsRealFile::SEPARATOR)
  @mount_point  = nil
  @name         = self.class.name
  @root         = root
end

Public Instance Methods

thin_interface?() click to toggle source
# File lib/virtfs/nativefs/thick.rb, line 17
def thin_interface?
  false
end
umount() click to toggle source
# File lib/virtfs/nativefs/thick.rb, line 21
def umount
  @mount_point = nil
end

Private Instance Methods

apply_root(path) click to toggle source
# File lib/virtfs/nativefs/thick.rb, line 25
def apply_root(path)
  VfsRealFile.join(@root, path)
end