pub async fn read_user_file(
context: &Context<'_>,
buffer: &mut Vec<u8>,
file: &str,
) -> Result<User>Expand description
Reads and parses a user file from the filesystem.
Version 0 records get their /users/<identifier> home in memory; nothing
is written back.
ยงErrors
- Path construction failures
- File system errors (opening, reading)
- JSON parsing errors, invalid recorded homes and unsupported versions