pub fn is_file_rotated<P: AsRef<Path>>( path: P, previous_size: u64, ) -> Result<bool>
Check if a file has been rotated (size decreased)