Function oku_fs::fs::load_or_create_author

source ·
pub fn load_or_create_author() -> Result<Author, Box<dyn Error + Send + Sync>>
Expand description

Imports the author credentials of the file system from disk, or creates new credentials if none exist.

§Arguments

  • path - The path on disk of the file holding the author’s credentials.

§Returns

The author credentials.