forge
Explore
Log in

Don't you dare go Hollow

forge

Clone
★ 0

0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits

common.rs20 lines, 442 bytesHistoryRawDownload
1//! Support shared by the integration test modules.
2
3use std::path::Path;
4use std::path::PathBuf;
5
6use forge_git::GitEnv;
7use forge_git::history::DiffLimits;
8
9pub const BIG: DiffLimits = DiffLimits {
10 max_files: 1000,
11 max_lines_per_file: 10_000,
12 max_total_lines: 100_000,
13};
14
15pub fn git_env(data_dir: &Path) -> GitEnv {
16 GitEnv {
17 git_bin: PathBuf::from("/usr/bin/git"),
18 data_dir: data_dir.to_path_buf(),
19 }
20}