class ProtoFS
Dir
class methods - are instance methods of filesystem instance.
File
class methods - are instance methods of filesystem instance.
Attributes
mount_point[RW]
name[RW]
Public Class Methods
new()
click to toggle source
# File lib/virtfs/protofs/protofs_base.rb, line 4 def initialize @mount_point = nil @name = self.class.name end
Public Instance Methods
dir_delete(p)
click to toggle source
# File lib/virtfs/protofs/protofs_dir_class.rb, line 5 def dir_delete(p) end
dir_entries(p)
click to toggle source
# File lib/virtfs/protofs/protofs_dir_class.rb, line 8 def dir_entries(p) end
dir_exist?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_dir_class.rb, line 11 def dir_exist?(p) end
dir_foreach(p, &block)
click to toggle source
# File lib/virtfs/protofs/protofs_dir_class.rb, line 14 def dir_foreach(p, &block) end
dir_mkdir(p, permissions)
click to toggle source
# File lib/virtfs/protofs/protofs_dir_class.rb, line 17 def dir_mkdir(p, permissions) end
dir_new(dir, hash_args={})
click to toggle source
# File lib/virtfs/protofs/protofs_dir_class.rb, line 20 def dir_new(dir, hash_args={}) Dir.new(self, lookup_dir(dir), hash_args) end
file_atime(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 5 def file_atime(p) end
file_blockdev?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 8 def file_blockdev?(p) end
file_chardev?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 11 def file_chardev?(p) end
file_chmod(permission, p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 14 def file_chmod(permission, p) end
file_chown(owner, group, p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 17 def file_chown(owner, group, p) end
file_delete(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 23 def file_delete(p) end
file_directory?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 26 def file_directory?(p) end
file_executable?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 29 def file_executable?(p) end
file_executable_real?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 32 def file_executable_real?(p) end
file_exist?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 35 def file_exist?(p) end
file_file?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 38 def file_file?(p) end
file_fileCtime(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 20 def file_fileCtime(p) end
file_ftype(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 41 def file_ftype(p) end
file_grpowned?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 44 def file_grpowned?(p) end
file_identical?(p1, p2)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 47 def file_identical?(p1, p2) end
file_lchmod(permission, p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 50 def file_lchmod(permission, p) end
file_lchown(owner, group, p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 53 def file_lchown(owner, group, p) end
file_link(p1, p2)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 56 def file_link(p1, p2) end
file_lstat(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 59 def file_lstat(p) end
file_mtime(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 62 def file_mtime(p) end
file_new(f, parsed_args)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 125 def file_new(f, parsed_args) File.new(self, lookup_file(f), parsed_args) end
file_owned?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 65 def file_owned?(p) end
file_pipe?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 68 def file_pipe?(p) end
file_readable?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 71 def file_readable?(p) end
file_readable_real?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 74 def file_readable_real?(p) end
file_readlink(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 77 def file_readlink(p) end
file_rename(p1, p2)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 80 def file_rename(p1, p2) end
file_setgid?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 83 def file_setgid?(p) end
file_setuid?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 86 def file_setuid?(p) end
file_size(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 89 def file_size(p) end
file_socket?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 92 def file_socket?(p) end
file_stat(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 95 def file_stat(p) end
file_sticky?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 98 def file_sticky?(p) end
file_symlink(oname, p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 101 def file_symlink(oname, p) end
file_symlink?(p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 104 def file_symlink?(p) end
file_truncate(p, len)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 107 def file_truncate(p, len) end
file_utime(atime, mtime, p)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 110 def file_utime(atime, mtime, p) end
file_world_readable?(p, len)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 113 def file_world_readable?(p, len) end
file_world_writable?(p, len)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 116 def file_world_writable?(p, len) end
file_writable?(p, len)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 119 def file_writable?(p, len) end
file_writable_real?(p, len)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 122 def file_writable_real?(p, len) end
umount()
click to toggle source
# File lib/virtfs/protofs/protofs_base.rb, line 9 def umount @mount_point = nil end
Private Instance Methods
lookup_dir(dir)
click to toggle source
# File lib/virtfs/protofs/protofs_dir_class.rb, line 26 def lookup_dir(dir) # # Get filesystem-specific handel for directory instance. # end
lookup_file(f)
click to toggle source
# File lib/virtfs/protofs/protofs_file_class.rb, line 131 def lookup_file(f) # # Get filesystem-specific handel for file instance. # end