fn read_file_inner(
    repo: &Repository,
    path: &str,
    tree: &Tree<'_>
) -> Result<FileInfo, ServiceError>