Creates a new RetrieveResultPackage instance from a RetrieveResult object.
The retrieve result object.
If true the retrieve result is expected to contain only one package.
Optionalarchive: __moduleOptional zip archive to use instead of the one in the retrieve result.
PrivatearchivesPrivatefilesPrivatemanifestPrivate ReadonlyresultThe retrieve result object.
Private ReadonlysingleIf true the retrieve result is expected to contain only one package.
Returns the number of files in the retrieve result package excluding -meta.xml files.
Returns true if the retrieve was successful and an archive with the retriebe result is available.
Get all component names in the retrieve result package that are not package.xml files.
A list of all component names in the retrieve result package
Get all components in the retrieve result package that are not package.xml files
A list of all components in the retrieve result package
PrivatefilePrivatefilterPrivategetGets all files in the retrieve result package.
Optionalpredicate: (file: RetrieveResultFile, index: number) => booleanA list of all files in the retrieve result package.
Gets the package manifest of the retrieve result package as a PackageManifest object parsed from the package.xml file.
The package manifest of the retrieve result.
Merge another retrieve result package into this one.
Other retrieve result package to merge into this one.
A reference to this retrieve result package.
Wraps around a RetrieveResult Object and allows easy iteration over the files contained in it.