def METHOD_NAME(user_data, cache):
    """
    Cleanup local project cache.
    ---
    get:
      description: Retrieve migration information for a project.
      responses:
        200:
          description: Information about required migrations for the project.
          content:
            application/json:
              schema: CacheCleanupResponseRPC
      tags:
        - cache
    """
    LocalRepositoryCache().evict_expired()
    cache_files_cleanup()
    return jsonify({"result": "ok"})