chrome/installer/mac/universalizer.py
def _file_type_for_stat(st):
    """Returns a string indicating the type of directory entry in st.

    Args:
        st: The return value of os.stat or os.lstat.

    Returns:
        'symbolic link', 'file', or 'directory'.
    """
    if stat.S_ISLNK(st.st_mode):
        return 'symbolic_link'
    if stat.S_ISREG(st.st_mode):
        return 'file'
    if stat.S_ISDIR(st.st_mode):
        return 'directory'

    raise Exception('unknown file type for mode 0o%o' % mode)
Returns a string indicating the type of directory entry in st.

    Args:
        st: The return value of os.stat or os.lstat.

    Returns:
        'symbolic link', 'file', or 'directory'.
    
Returns a string indicating the type of directory entry in st.
Returns a string indicating the type of directory entry in st .
def _file_type_for_stat(st):
    if stat.S_ISLNK(st.st_mode):
        return 'symbolic_link'
    if stat.S_ISREG(st.st_mode):
        return 'file'
    if stat.S_ISDIR(st.st_mode):
        return 'directory'
    raise Exception('unknown file type for mode 0o%o' % mode)
def _file_type_for_stat ( st ) : if stat . S_ISLNK ( st . st_mode ) : return 'symbolic_link' if stat . S_ISREG ( st . st_mode ) : return 'file' if stat . S_ISDIR ( st . st_mode ) : return 'directory' raise Exception ( 'unknown file type for mode 0o%o' % mode )
Returns a string indicating the type of directory entry in st.
Returns a string indicating the type of directory entry in st .
"""Returns a string indicating the type of directory entry in st.

    Args:
        st: The return value of os.stat or os.lstat.

    Returns:
        'symbolic link', 'file', or 'directory'.
    """
'symbolic link', 'file', or 'directory'.
' symbolic link ' ' file ' or ' directory ' .
st
The return value of os.stat or os.lstat.
The return value of os . stat or os . lstat .