Class CommitDataLoader

java.lang.Object
io.github.jbastgen.stemma.app.ai.CommitDataLoader

public final class CommitDataLoader extends Object
Reads what a description needs from a repository: message and changes of each commit. Files that must not be sent (privacy patterns) and binary files are not even read; at most 30 files per commit are. Blocking: run it off the JavaFX thread.
  • Method Details

    • load

      public static List<CommitData> load(io.github.jbastgen.stemma.git.api.GitRepository repo, List<String> commitIds, AiConfig config)
      Reads what the AI is told about the commits: message, author and changed files with their line counts. Excluded and binary files are only counted.