Function: writeBackupFile()
writeBackupFile<T>(dir, filename, envelope, format): void
Defined in: src/backup/io.ts:27
Serialize envelope and write to dir/filename.{json|yaml}. Creates dir if needed.
Type Parameters
T
Parameters
dir
string
filename
string
envelope
BackupEnvelope<T>
BackupFormat
Returns
void