Class: Chef::ChefFS::FileSystem::Repository::ChefRepositoryFileSystemCookbookArtifactsDir

Inherits:
ChefRepositoryFileSystemCookbooksDir show all
Defined in:
lib/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_artifacts_dir.rb

Instance Attribute Summary

Attributes inherited from ChefRepositoryFileSystemCookbooksDir

#chefignore

Attributes inherited from FileSystemEntry

#file_path

Attributes inherited from BaseFSObject

#name, #parent, #path

Instance Method Summary collapse

Methods inherited from ChefRepositoryFileSystemCookbooksDir

#can_have_child?, #children, #initialize, #write_cookbook

Methods inherited from ChefRepositoryFileSystemEntry

#can_have_child?, #chef_object, #data_handler, #initialize, #minimize, #write, #write_pretty_json, #write_pretty_json=

Methods inherited from FileSystemEntry

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

Methods inherited from BaseFSDir

#can_have_child?, #dir?, #empty?, #initialize

Methods inherited from BaseFSObject

#can_have_child?, #chef_object, #child, #children, #compare_to, #create_child, #delete, #dir?, #exists?, #initialize, #path_for_printing, #read, #root, #write

Constructor Details

This class inherits a constructor from Chef::ChefFS::FileSystem::Repository::ChefRepositoryFileSystemCookbooksDir

Instance Method Details

#make_child_entry(child_name) ⇒ Object



27
28
29
# File 'lib/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_artifacts_dir.rb', line 27

def make_child_entry(child_name)
  ChefRepositoryFileSystemCookbookArtifactDir.new(child_name, self)
end