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

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

.get_mode(file) ⇒ Object


34
35
36
# File 'lib/specinfra/command/darwin/base/file.rb', line 34

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