Class: Chef::ChefFS::FileSystem::ChefRepositoryFileSystemRootDir

Inherits:
ChefRepositoryFileSystemEntry show all
Defined in:
lib/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb

Instance Attribute Summary

Attributes inherited from ChefRepositoryFileSystemEntry

#chefignore

Attributes inherited from FileSystemEntry

#file_path

Attributes inherited from BaseFSObject

#name, #parent, #path

Instance Method Summary collapse

Methods inherited from ChefRepositoryFileSystemEntry

#chef_object, #children, #ignore_empty_directories?

Methods inherited from FileSystemEntry

#children, #create_child, #delete, #dir?, #path_for_printing, #read, #write

Methods inherited from BaseFSDir

#can_have_child?, #child, #dir?

Methods inherited from BaseFSObject

#can_have_child?, #child, #compare_to, #dir?, #exists?, #path_for_printing, #root

Constructor Details

#initialize(file_path) ⇒ ChefRepositoryFileSystemRootDir

Returns a new instance of ChefRepositoryFileSystemRootDir.



25
26
27
# File 'lib/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb', line 25

def initialize(file_path)
  super("", nil, file_path)
end