Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitozi committed Aug 13, 2024
1 parent 5a75c62 commit f800aef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/paimon/src/io/file_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
})
}
Expand All @@ -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())
Expand Down Expand Up @@ -165,7 +165,7 @@ pub struct FileStatus {
pub size: u64,
pub is_dir: bool,
pub path: String,
pub last_modification_time: Option<DateTime<Utc>>,
pub last_modified: Option<DateTime<Utc>>,
}

/// Input file represents a file that can be read from.
Expand Down

0 comments on commit f800aef

Please sign in to comment.