class HammerCLIKatello::Repository::UploadContentCommand::BinaryPath
Public Instance Methods
format(path)
click to toggle source
# File lib/hammer_cli_katello/repository.rb, line 412 def format(path) fullpath = ::File.expand_path(path) if File.directory?(fullpath) Dir["#{fullpath}/*"] elsif File.exist?(fullpath) [fullpath] else Dir[fullpath] end end