Skip to content

Commit

Permalink
chore: add inline hinting and fix incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sdd committed Feb 28, 2024
1 parent eb1fe01 commit a4cf9b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/iceberg/src/spec/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -851,16 +851,19 @@ impl ManifestEntry {
}

/// Content type of this manifest entry.
#[inline]
pub fn content_type(&self) -> DataContentType {
self.data_file.content
}

/// Content type of this manifest entry.
/// File format of this manifest entry.
#[inline]
pub fn file_format(&self) -> DataFileFormat {
self.data_file.file_format
}

/// Data file path of this manifest entry.
#[inline]
pub fn file_path(&self) -> &str {
&self.data_file.file_path
}
Expand Down

0 comments on commit a4cf9b8

Please sign in to comment.