import stat


def _signature(st):

    """
    st.st_mode - the file type
    st.st_size - total size, in bytes
    st.st_mtime - time of last modification
    """

    return stat.S_IFMT(st.st_mode), st.st_size, st.st_mtime