Method: Specinfra::Command::Openbsd::Base::File.get_mode

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

.get_mode(file) ⇒ Object

[View source]

35
36
37
# File 'lib/specinfra/command/openbsd/base/file.rb', line 35

def get_mode(file)
  "stat -f%Lp #{escape(file)}"
end