init

Function init 

Source
pub fn init(args: &InitCmd) -> Result<(), AppError>
Expand description

Initialise an empty repository.

Creates the default EpochConfig, verifies that the target directory is empty, and writes the initial configuration and epoch data.