fediback 0.2.0

A mastodon account backup program
1
2
3
4
5
6
7
8
9
10
use {
    crate::*,
    directories_next::ProjectDirs,
};

/// return the instance of ProjectDirs holding the app specific paths
pub fn app_dirs() -> Result<ProjectDirs> {
    ProjectDirs::from("org", "dystroy", "fediback")
        .ok_or(Error::Other("Unable to find app directories"))
}