def METHOD_NAME(source, root):
    """Return a string containing the name, its modified time and its size."""
    stat = os.stat(os.path.realpath(source))
    if root:
        source = os.path.relpath(source, root)
    return os.pathsep.join(
        [
            "source=" + source,
            "mtime=" + str(stat.st_mtime),
            "size=" + str(stat.st_size),
        ]
    )