@classmethod
def from_stat(cls, st):
    """
        Create from something isomorphic to FakeStat (such as a FakeStat
        or a real stat).
        """
    return cls(st_mode=st.st_mode, st_nlink=st.st_nlink, st_mtime=st.
        st_mtime, st_ctime=st.st_ctime, st_atime=st.st_atime, st_ino=st.
        st_ino, st_size=st.st_size, st_uid=st.st_uid, st_gid=st.st_gid,
        st_rdev=st.st_rdev)
