(repo_root: &Path)
| 348 | } |
| 349 | |
| 350 | fn content_config(repo_root: &Path) -> Config { |
| 351 | Config { |
| 352 | index_dir: repo_root.join(".atomic").join("content-index"), |
| 353 | repo_root: repo_root.to_path_buf(), |
| 354 | max_file_size: 10 * 1024 * 1024, // 10 MiB |
| 355 | verbose: false, |
| 356 | strict_permissions: false, // .atomic/ may have relaxed perms |
| 357 | ..Config::default() |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | // --------------------------------------------------------------------------- |
| 362 | // Public types |
no outgoing calls
no test coverage detected