Sha256: 18df8fe20492f4c57876010d1b6d1436c7d44c1f0db66aa380e97666d461fc53
Contents?: true
Size: 279 Bytes
Versions: 49
Compression:
Stored size: 279 Bytes
Contents
module MiqDiskCommon def self.file_mode(d_info) if d_info.mountMode.nil? || d_info.mountMode == "r" d_info.mountMode = "r" return "r" elsif d_info.mountMode == "rw" return "r+" end raise "Unrecognized mountMode: #{d_info.mountMode}" end end
Version data entries
49 entries across 49 versions & 1 rubygems