Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
20 lines
368 B
Rust
20 lines
368 B
Rust
use crate::app::{SharedApp, SharedLocalApp};
|
|
|
|
use super::FileReader;
|
|
|
|
pub trait FileReaderExt {
|
|
fn file_reader(&self) -> FileReader;
|
|
}
|
|
|
|
impl FileReaderExt for SharedApp {
|
|
fn file_reader(&self) -> FileReader {
|
|
FileReader::new()
|
|
}
|
|
}
|
|
|
|
impl FileReaderExt for SharedLocalApp {
|
|
fn file_reader(&self) -> FileReader {
|
|
FileReader::new()
|
|
}
|
|
}
|