Skip to main content

get_code_tree

Function get_code_tree 

Source
pub async fn get_code_tree(
    configuration: &Configuration,
    repo: Option<&str>,
) -> Result<RepoTree, Error<GetCodeTreeError>>
Expand description

Returns one repository’s file structure with a per-file symbol count — get_repo_structure over the org’s own index, with no git checkout involved. A repository that has not been indexed answers an empty tree rather than an error, so an agent can tell "nothing here" without handling a failure.