📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 10:11:33
📂
/ (Root)
/
opt
/
alt
/
alt-nodejs11
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
gyp
📍 /opt/alt/alt-nodejs11/root/usr/lib/python2.7/site-packages/gyp
🔄 Refresh
✏️
Editing: win_tool.pyo
Read Only
� Qc @ s� d Z d d l m Z m Z d d l Z d d l Z d d l Z d d l Z e j j e j j e � � Z d � Z d e f d � � YZ d e f d � � YZ e d k r� e j e e j d � � n d S( su Utility functions for Windows builds. These functions are executed via gyp-win-tool when using the ninja generator. i����( t windllt wintypesNc C s8 t � } | j | � } | d k r4 t j | � n d S( N( t WinToolt Dispatcht Nonet syst exit( t argst executort exit_code( ( sK //opt/alt/alt-nodejs11/root/usr/lib/python2.7/site-packages/gyp/win_tool.pyt main s t LinkLockc B s e Z d Z d � Z d � Z RS( s� A flock-style lock to limit the number of concurrent links to one. Uses a session-local mutex based on the file's directory. c C s} d t j d d � j d d � } t j j t j d � t j d � t j | � � | _ t j j | j t j d � � } d S( Ns Local\%ss \t _t :i I���� ( t BASE_DIRt replaceR t kernel32t CreateMutexWR t c_intt create_unicode_buffert mutext WaitForSingleObject( t selft namet result( ( sK //opt/alt/alt-nodejs11/root/usr/lib/python2.7/site-packages/gyp/win_tool.pyt __enter__ s " c C s* t j j | j � t j j | j � d S( N( R R t ReleaseMutexR t CloseHandle( R t typet valuet traceback( ( sK //opt/alt/alt-nodejs11/root/usr/lib/python2.7/site-packages/gyp/win_tool.pyt __exit__/ s ( t __name__t __module__t __doc__R R ( ( ( sK //opt/alt/alt-nodejs11/root/usr/lib/python2.7/site-packages/gyp/win_tool.pyR s R c B sq e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s� This class performs all the Windows tooling steps. The methods can either be executed directly, or dispatched from an argument list.c C sO t | � d k r! t d � � n d | j | d � } t | | � | d � S( s( Dispatches a string command to a method.i s Not enough argumentss Exec%si ( t lent Exceptiont _CommandifyNamet getattr( R R t method( ( sK //opt/alt/alt-nodejs11/root/usr/lib/python2.7/site-packages/gyp/win_tool.pyR 8 s c C s | j � j d d � S( s@ Transforms a tool name like recursive-mirror to RecursiveMirror.t -t ( t titleR ( R t name_string( ( sK //opt/alt/alt-nodejs11/root/usr/lib/python2.7/site-packages/gyp/win_tool.pyR% @ s c C sN t | � j � d j d � } g | D] } | j d d � ^ q&