pub struct AppPaths;Expand description
Paths used by the application.
Implementations§
Source§impl AppPaths
impl AppPaths
Sourcepub fn imessage_db() -> PathBuf
pub fn imessage_db() -> PathBuf
iMessage database path
Sourcepub fn imessage_db_wal() -> PathBuf
pub fn imessage_db_wal() -> PathBuf
iMessage database WAL path
Sourcepub fn attachments_dir() -> PathBuf
pub fn attachments_dir() -> PathBuf
Attachments directory (app data)
Sourcepub fn messages_attachments_dir() -> PathBuf
pub fn messages_attachments_dir() -> PathBuf
Messages attachments directory (inside ~/Library/Messages/). Used for Private API sends and on macOS Monterey+ where AppleScript requires files to already be inside the Messages sandbox.
Sourcepub fn attachment_cache_dir() -> PathBuf
pub fn attachment_cache_dir() -> PathBuf
Cached attachments directory
Sourcepub fn convert_dir() -> PathBuf
pub fn convert_dir() -> PathBuf
Convert staging directory
Sourcepub fn yaml_config() -> PathBuf
pub fn yaml_config() -> PathBuf
YAML config file path
Auto Trait Implementations§
impl Freeze for AppPaths
impl RefUnwindSafe for AppPaths
impl Send for AppPaths
impl Sync for AppPaths
impl Unpin for AppPaths
impl UnsafeUnpin for AppPaths
impl UnwindSafe for AppPaths
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more