Method: Specinfra::Command::Darwin::Base::File.check_is_linked_to
- Defined in:
- lib/specinfra/command/darwin/base/file.rb
permalink .check_is_linked_to(link, target) ⇒ Object
[View source]
15 16 17 |
# File 'lib/specinfra/command/darwin/base/file.rb', line 15 def check_is_linked_to(link, target) "stat -f %Y #{escape(link)} | grep -- #{escape(target)}" end |