(repo_root: &Path)
| 550 | } |
| 551 | |
| 552 | fn content_config(repo_root: &Path) -> Config { |
| 553 | Config { |
| 554 | index_dir: repo_root.join(".atomic").join("content-index"), |
| 555 | repo_root: repo_root.to_path_buf(), |
| 556 | max_file_size: 10 * 1024 * 1024, // 10 MiB |
| 557 | verbose: false, |
| 558 | strict_permissions: false, // .atomic/ may have relaxed perms |
| 559 | ..Config::default() |
| 560 | } |
| 561 | } |
| 562 | |
| 563 | // --------------------------------------------------------------------------- |
| 564 | // Public types |
no outgoing calls
no test coverage detected