Method: Specinfra::Command::Openbsd::Base::File.check_is_linked_to
- Defined in:
- lib/specinfra/command/openbsd/base/file.rb
.check_is_linked_to(link, target) ⇒ Object
11 12 13 |
# File 'lib/specinfra/command/openbsd/base/file.rb', line 11 def check_is_linked_to(link, target) "stat -f %Y #{escape(link)} | grep -- #{escape(target)}" end |