HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/twisted/python/__pycache__/_appdirs.cpython-312.pyc
�

Ϫ�f<��B�dZddlZddlmZddlZddlmZddedefd�Zy)	z%
Application data directory support.
�N)�cast)�currentframe�
moduleName�returnc��|s0td�}tj|�}|�J�|j}t	t
t
j|��S)z�
    Get a data directory for the caller function, or C{moduleName} if given.

    @param moduleName: The module name if you don't wish to have the caller's
        module.

    @returns: A directory for putting data in.
    �)r�inspect�	getmodule�__name__r�str�appdirs�
user_data_dir)r�caller�modules   �9/usr/lib/python3/dist-packages/twisted/python/_appdirs.py�getDataDirectoryrsM����a����"�"�6�*���!�!�!��_�_�
���W�*�*�:�6�7�7�)�)	�__doc__r	�typingrr
�twisted.python.compatrrr�rr�<module>rs+��
����.�8��8�c�8r