Sha256: f0b458a50d5dfc706afff9ec39df7703bfbd524bdad8936e5ab5f521c1435317

Contents?: true

Size: 199 Bytes

Versions: 66

Compression:

Stored size: 199 Bytes

Contents

module RawDiskProbe
  def self.probe(ostruct)
    return nil unless ostruct.fileName
    return("RawDisk") if ostruct.rawDisk || File.extname(ostruct.fileName).downcase == ".img"
    (nil)
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
manageiq-smartstate-0.1.5 lib/disk/modules/RawDiskProbe.rb
manageiq-smartstate-0.1.4 lib/disk/modules/RawDiskProbe.rb
manageiq-smartstate-0.1.3 lib/disk/modules/RawDiskProbe.rb
manageiq-smartstate-0.1.2 lib/disk/modules/RawDiskProbe.rb
manageiq-smartstate-0.1.1 lib/disk/modules/RawDiskProbe.rb
manageiq-smartstate-0.1.0 lib/disk/modules/RawDiskProbe.rb