From f800aef0cce1a8839a29755f9d0d2b5baefd1798 Mon Sep 17 00:00:00 2001 From: Aitozi Date: Tue, 13 Aug 2024 10:44:03 +0800 Subject: [PATCH] rename --- crates/paimon/src/io/file_io.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/paimon/src/io/file_io.rs b/crates/paimon/src/io/file_io.rs index 2043fca..0d31af7 100644 --- a/crates/paimon/src/io/file_io.rs +++ b/crates/paimon/src/io/file_io.rs @@ -75,7 +75,7 @@ impl FileIO { Ok(FileStatus { size: meta.content_length(), is_dir: meta.is_dir(), - last_modification_time: meta.last_modified(), + last_modified: meta.last_modified(), path: path.to_string(), }) } @@ -100,7 +100,7 @@ impl FileIO { .map(|meta| FileStatus { size: meta.metadata().content_length(), is_dir: meta.metadata().is_dir(), - last_modification_time: meta.metadata().last_modified(), + last_modified: meta.metadata().last_modified(), path: format!("{}{}", path, meta.name()), }) .collect()) @@ -165,7 +165,7 @@ pub struct FileStatus { pub size: u64, pub is_dir: bool, pub path: String, - pub last_modification_time: Option>, + pub last_modified: Option>, } /// Input file represents a file that can be read from.