[][src]Function broot::git::get_tree_status

pub fn get_tree_status(
    root_path: &Path,
    dam: &mut Dam
) -> ComputationResult<TreeGitStatus>

try to get the result of the computation of the tree git status. This may be immediate if a previous computation was finished. This may wait for the result of a new computation or of a previously launched one. In any case:

  • this function returns as soon as the dam asks for it (ie when there's an event)
  • computations are never dropped unless the program ends: they continue in background and the result may be available for following queries