Sha256: 825a01737385d53b897f82f99d42c316ad0ea222ec1083bfc968543fe82eb989
Contents?: true
Size: 305 Bytes
Versions: 1
Compression:
Stored size: 305 Bytes
Contents
class Specinfra::Command::Freebsd::Base::File < Specinfra::Command::Base::File class << self def check_has_mode(file, mode) regexp = "^#{mode}$" "stat -f%Lp #{escape(file)} | grep -- #{escape(regexp)}" end def get_mode(file) "stat -f%Lp #{escape(file)}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
specinfra-2.0.0.beta16 | lib/specinfra/command/freebsd/base/file.rb |