class Chef::ChefFS::FileSystem::ChefServer::CookbookArtifactDir
Public Class Methods
Source
# File lib/chef/chef_fs/file_system/chef_server/cookbook_artifact_dir.rb, line 26 def initialize(name, parent, options = {}) super(name, parent) @cookbook_name, dash, @version = name.rpartition("-") end
Calls superclass method
Public Instance Methods
Source
# File lib/chef/chef_fs/file_system/chef_server/cookbook_artifact_dir.rb, line 31 def copy_from(other, options = {}) raise OperationNotAllowedError.new(:write, self, nil, "cannot be updated: cookbook artifacts are immutable once uploaded") end