<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def of_project(project: 'projects.Project') -> dict: """ Returns the file status information for every file within the project source directory and its shared library folders. :param project: The project for which the status information should be generated :return: A dictionary containing: - project: the status information for all files within the projects source directory - libraries: a list of status information dictionaries for all files within each of the project's library directories. If a library resides within the project source directory, the entry will be an empty dictionary to prevent duplication. """

    source_directory = project.source_directory

    libraries_status = [
        {} if d.startswith(source_directory) else of_directory(d)
        for d in project.library_directories
    ]

    return dict(
        project=of_directory(source_directory),
        libraries=libraries_status
    )