Skip to content

Function: readBackupDir()

readBackupDir\<T>(dirPath, resourceType): BackupEnvelope\<T>[]

Defined in: src/backup/io.ts:58

Read all backup files from a directory, filtering by resourceType.

Type Parameters

T

T

Parameters

dirPath

string

resourceType

"redteam-target"

Returns

BackupEnvelope\<T>[]