class ChefFS::FileSystem::ChefRepositoryFileSystemDataBagsDir

Public Class Methods

new(name, parent, path = nil) click to toggle source
Calls superclass method
# File lib/chef_fs/file_system/chef_repository_file_system_data_bags_dir.rb, line 25
def initialize(name, parent, path = nil)
  super(name, parent, path, ChefFS::DataHandler::DataBagItemDataHandler.new)
end

Public Instance Methods

can_have_child?(name, is_dir) click to toggle source
# File lib/chef_fs/file_system/chef_repository_file_system_data_bags_dir.rb, line 29
def can_have_child?(name, is_dir)
  is_dir && !name.start_with?('.')
end