MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / content_config

Function content_config

atomic-repository/src/content_search.rs:350–359  ·  view source on GitHub ↗
(repo_root: &Path)

Source from the content-addressed store, hash-verified

348}
349
350fn 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

Callers 6

build_content_indexFunction · 0.85
update_content_indexFunction · 0.85
notify_and_commitFunction · 0.85
search_contentFunction · 0.85
content_index_statsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected