diff --git a/iroh/src/client.rs b/iroh/src/client.rs index 50fb39d155..ac7ec1eee0 100644 --- a/iroh/src/client.rs +++ b/iroh/src/client.rs @@ -871,6 +871,11 @@ impl Entry { self.0.key() } + /// Get the timestamp of this entry. + pub fn timestamp(&self) -> u64 { + self.0.timestamp() + } + /// Read the content of an [`Entry`] as a streaming [`BlobReader`]. /// /// You can pass either a [`Doc`] or the [`Iroh`] client by reference as `client`.