Module repo_project_selector

Source

Structs§

Include
OO representation of a repo-tool’s include xml element
Manifest
OO representation of a repo-tool’s manifest xml element
Project
OO representation of a repo-tool’s project xml element

Functions§

find_project_list
returns a path pointing to he project.list file in the .repo folder, or an io::Error in case the file couldn’t been found.
find_repo_folder
returns a path pointing to the .repo folder, or Error in case the .repo folder couldn’t been found in the cwd or any of its parent folders.
find_repo_manifests_folder
returns a path pointing to the .repo/manifests folder, or Error in case the .repo folder couldn’t been found in the cwd or any of its parent folders.
find_repo_root_folder
returns a path pointing to the folder containing .repo, or io::Error in case the .repo folder couldn’t been found in the cwd or any of its parent folders.
parse
parse_manifest
select_projects
The repo-tool keeps a list of synced projects at .repo/project.list This function can filter the list of projects by groups and/or manifest files. If a group and manifest filter are given, the list will contain the intersection. Additionally the function can include the manifest repo itsself into the list (.repo/manifests).