(repo_root: &Path)
| 364 | } |
| 365 | |
| 366 | fn content_config(repo_root: &Path) -> Config { |
| 367 | Config { |
| 368 | index_dir: repo_root.join(".atomic").join("content-index"), |
| 369 | repo_root: repo_root.to_path_buf(), |
| 370 | max_file_size: 10 * 1024 * 1024, // 10 MiB |
| 371 | verbose: false, |
| 372 | strict_permissions: false, // .atomic/ may have relaxed perms |
| 373 | ..Config::default() |
| 374 | } |
| 375 | } |
| 376 | |
| 377 | // --------------------------------------------------------------------------- |
| 378 | // Public types |
no outgoing calls
no test coverage detected