(repo_root: &Path)
| 597 | } |
| 598 | |
| 599 | fn content_config(repo_root: &Path) -> Config { |
| 600 | Config { |
| 601 | index_dir: repo_root.join(".atomic").join("content-index"), |
| 602 | repo_root: repo_root.to_path_buf(), |
| 603 | max_file_size: 10 * 1024 * 1024, // 10 MiB |
| 604 | verbose: false, |
| 605 | strict_permissions: false, // .atomic/ may have relaxed perms |
| 606 | ..Config::default() |
| 607 | } |
| 608 | } |
| 609 | |
| 610 | // --------------------------------------------------------------------------- |
| 611 | // Public types |
no outgoing calls
no test coverage detected