Skip to main content

build_browse_pages

Function build_browse_pages 

Source
fn build_browse_pages(
    revisions: &[(String, ObjectId)],
    browse_dir: &Path,
    repo_path: &Path,
    theme_path: &Path,
    project_name: &str,
    lang: &Option<String>,
    clone_url: &Option<String>,
) -> Result<()>
Expand description

Build the full static tree browser for every revision in revisions.

Everything here is synchronous (gix + std::fs + syntect), intended to run inside tokio::task::spawn_blocking.