The folder(s) to load the datapacks from that will be compared
options that control the comparison and datapack conversion
OptionalcancelToken: CancellationTokenAn optional cancellation token to abort the comparison
A promise of the comparison result detailing per datapack root if it is in sync with the target org and how it mismatches
Compare 1 or more datapacks from the specified folders against the data in a target org without deploying them. At minimum a connection or sfdxAlias should be specified which will tell the comparison to which environment to connect.
This is a simple straight forward method that can be used to run a comparison without having to prepare and setup the dependent classes and objects; see DatapackComparer for details on how datapacks are compared.