1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

cfg_if::cfg_if! {
    if #[cfg(any(target_os = "android", target_os = "linux"))] {
        pub mod linux;
        use linux as platform;
    } else if #[cfg(windows)] {
        pub mod windows;
        use windows as platform;
    }
}

pub(crate) use platform::apply_raw_disk_file_options;
pub(crate) use platform::open_raw_disk_image;
pub(crate) use platform::read_from_disk;