Method: Specinfra::Command::Windows::Base::File.check_is_hidden

Defined in:
lib/specinfra/command/windows/base/file.rb

.check_is_hidden(file) ⇒ Object

[View source]

24
25
26
27
28
29
# File 'lib/specinfra/command/windows/base/file.rb', line 24

def check_is_hidden(file)
  cmd = item_has_attribute file, 'Hidden'
  Backend::PowerShell::Command.new do
    exec cmd
  end
end