You can see below the API reference of this module.
Creates a new Importer instance.
- Object
options: TheGitStatsImporteroptions. - GitStats
gs: TheGitStatsinstance. - Object
data: The commit data.
- Importer The
Importerinstance.
Spawns the git log command and returns the stdout stream.
- Stream The stdout stream of
git logcommand.
Emits the commmit, error and finish events.
Deletes the selected commits.
Imports the selected commits.
Creates a new instance of GitStatsImporter.
- Object
options: An object containing the following fields: path(String): The repository path.delete(Boolean): Iftrue, it will delete the commits from the history.recursive(Boolean): Iftruethe tool will search for repositories in the specified path, recursively.emails(Array): An array with the emails that were used in the commits you want to import.
- GitStatsImporter The
GitStatsImporterinstance.