+
    i
  c                   s*    ^ RI HtHt  ! R R4      tR# )i    )GioGLibc                   sb   a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
 tR tRtV tR# )Watcherc                sH    Wn         W n        / V n        / V n        . V n        R # N)	_callback_timeout	_monitors	_timeouts_blocked)selfZcallbackZtimeouts   &&&:/usr/lib/python3.14/site-packages/firewall/core/watcher.py__init__ZWatcher.__init__   s!    !    c                   \         P                  P                  V4      pVP                  \         P                  P
                  R 4      V P                  V&   V P                  V,          P                  RV P                  4       R # NZchanged)	r    Filenew_for_pathZmonitor_directoryFileMonitorFlagsNONEr   connect_file_changed_cb)r	   Z	directorygfile   && r
   add_watch_dirZWatcher.add_watch_dir   sa    %%i0$)$;$;  %%t%
y! 	y!)))T5J5JKr   c                r   r   )	r    r   r   Zmonitor_filer   r   r   r   r   )r	   filenamer   r   r
   add_watch_fileZWatcher.add_watch_file   s]    %%h/#(#5#5c6J6J6O6OQU#Vx x ((D4I4IJr   c                s6    V P                   P                  4       # r   )r   keys)r	   s   &r
   get_watchesZWatcher.get_watches   s    ~~""$$r   c                s    WP                   9   # r   r   r	   r      &&r
   	has_watchZWatcher.has_watch"   s    >>))r   c                s     V P                   V R # r   r   r   r   r
   remove_watchZWatcher.remove_watch%   s    NN8$r   c                s`    WP                   9  d   V P                   P                  V4       R # R # r   )r   Zappendr   r   r
   block_sourceZWatcher.block_source(   s#    ==(MM  * )r   c                s`    WP                   9   d   V P                   P                  V4       R # R # r   )r   Zremover   r   r
   unblock_sourceZWatcher.unblock_source,   s#    }}$MM  * %r   c                s    \        V P                  P                  4       4       F7  p\        P                  ! V P                  V,          4       V P                  V K9  	  R # r   )Zlistr   r   r   source_remover   s   & r
   clear_timeoutsZWatcher.clear_timeouts0   sA    T^^0023Ht~~h78x( 4r   c                sb    WP                   9  d   V P                  V4       V P                  V R # r   )r   r   r   r   r   r
   _call_callbackZWatcher._call_callback5   s$    ==(NN8$NN8$r   c                s   VP                  4       pWPP                  9   dG   WPP                  9   d5   \        P                  ! V P                  V,          4       V P                  V R # V\
        P                  P                  8X  g^   V\
        P                  P                  8X  g?   V\
        P                  P                  8X  g    V\
        P                  P                  8X  d   WPP                  9   d5   \        P                  ! V P                  V,          4       V P                  V \        P                  ! V P                  V P                  V4      V P                  V&   R # R # r   )Zget_parse_namer   r   r   r#   r    ZFileMonitorEventZCHANGEDZCREATEDZDELETEDZATTRIBUTE_CHANGEDZtimeout_add_secondsr   r%   )r	   ZmonitorZgio_fileZgio_other_fileZeventr   s   &&&&& r
   r   ZWatcher._file_changed_cb:   s    **,}}$>>)""4>>(#;<NN8, S))111,,444,,444,,>>>>>)""4>>(#;<NN8,'+'?'?t22H(DNN8$ ?r   )r   r   r   r   r   N)Z__name__Z
__module__Z__qualname__Z__firstlineno__r   r   r   r   r   r    r!   r"   r$   r%   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r
   r   r      sC     LK
%*%++)
%
 r   r   N)Zgi.repositoryr    r   r   ) r   r
   <module>r&      s    $B Br   