aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/plugin/post_file_download_event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/plugin/post_file_download_event.rs')
-rw-r--r--crates/shirabe/src/plugin/post_file_download_event.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/shirabe/src/plugin/post_file_download_event.rs b/crates/shirabe/src/plugin/post_file_download_event.rs
index f0e2569..549807a 100644
--- a/crates/shirabe/src/plugin/post_file_download_event.rs
+++ b/crates/shirabe/src/plugin/post_file_download_event.rs
@@ -33,6 +33,10 @@ impl PostFileDownloadEvent {
}
}
+ pub fn get_name(&self) -> &str {
+ self.inner.get_name()
+ }
+
pub fn get_file_name(&self) -> Option<&str> {
self.file_name.as_deref()
}