(repo_root: &Path)
| 237 | } |
| 238 | |
| 239 | fn content_config(repo_root: &Path) -> Config { |
| 240 | Config { |
| 241 | index_dir: repo_root.join(".atomic").join("content-index"), |
| 242 | repo_root: repo_root.to_path_buf(), |
| 243 | max_file_size: 10 * 1024 * 1024, // 10 MiB |
| 244 | verbose: false, |
| 245 | strict_permissions: false, // .atomic/ may have relaxed perms |
| 246 | ..Config::default() |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | // --------------------------------------------------------------------------- |
| 251 | // Public types |
no outgoing calls
no test coverage detected