Spade
Mini Shell
| Directory:~$ /lib/python3.6/site-packages/setuptools/__pycache__/ |
| [Home] [System Details] [Kill Me] |
3
J$�\��@s(ddlZddlZdd�Zedd��ZdS)�NcCstj�dkrdd�S|S)NZWindowsc_sdS)N�)�args�kwargsrr�%/usr/lib/python3.6/windows_support.py�<lambda>szwindows_only.<locals>.<lambda>)�platform�system)�funcrrr�windows_onlysr
cCsLtd�tjjj}tjjtjjf|_tjj |_
d}|||�}|sHtj��dS)z�
Set the hidden attribute on a file or directory.
From http://stackoverflow.com/questions/19622133/
`path` must be text.
zctypes.wintypes�N)�
__import__�ctypesZwindllZkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORDZargtypesZBOOLZrestypeZWinError)�pathZSetFileAttributes�FILE_ATTRIBUTE_HIDDENZretrrr� hide_files
r)rr
r
rrrrr�<module>s