Skip to main content

export_file

Function export_file 

Source
pub fn export_file(
    path: &Path,
    format: ExportFormat,
    registry: &KeyRegistry,
) -> Result<String>
Expand description

Export an AION file to the specified format

§Arguments

  • path - Path to the AION file
  • format - Export format (JSON, YAML, CSV)

§Returns

Exported data as a string in the requested format