git_diff_options.max_size

A size (in bytes) above which a blob will be marked as binary automatically; pass a negative value to disable. Defaults to 512MB.

struct git_diff_options
libgit2_d.types.git_off_t max_size;

Meta