Skip to main content

load

Function load 

Source
pub async fn load() -> Result<Option<Registration>>
Expand description

Load the registration from the default location.

If the file is absent, migrates from the legacy /etc/tamanu plaintext files (unless [DIR_ENV] is set). Returns None when there’s nothing to load.