#[cfg(feature = "max-filename-size-30")]
pub const MAX_FILENAME_SIZE: usize = 30;
#[cfg(not(feature = "limit-filename-size"))]
pub const MAX_FILENAME_SIZE: usize = 510;
#[derive(Copy, Clone)]
pub struct TouchOptions {
pub access: bool,
pub modified: bool,
}
impl Default for TouchOptions {
fn default() -> Self {
Self { access: true, modified: true }
}
}
#[derive(Copy, Clone, Default, Debug)]
pub struct FileOptions {
/// Fragment will produce unpredictable latency when writing,
/// enabling this option will indicate write operation
/// returns Fragment error instead of filling FAT chain
pub dont_fragment: bool,
}