• File: macos.cpython-37.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib/python3.7/site-packages/platformdirs/__pycache__/macos.cpython-37.pyc
  • Date Modified: 05/31/2024 2:11 PM
  • File size: 3.22 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

Ĥa_
@s:ddlmZddlZddlmZGdddeZdgZdS))annotationsN)PlatformDirsABCc@seZdZdZeddddZeddddZedddd	Zeddd
dZedddd
Z	eddddZ
eddddZeddddZeddddZ
dS)MacOSa
    Platform directories for the macOS operating system. Follows the guidance from `Apple documentation
    <https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/MacOSXDirectories/MacOSXDirectories.html>`_.
    Makes use of the `appname <platformdirs.api.PlatformDirsABC.appname>` and
    `version <platformdirs.api.PlatformDirsABC.version>`.
    str)returncCs|tjdS)zb:return: data directory tied to the user, e.g. ``~/Library/Application Support/$appname/$version``z~/Library/Application Support/)_append_app_name_and_versionospath
expanduser)selfr
C/opt/alt/python37/lib/python3.7/site-packages/platformdirs/macos.py
user_data_dirszMacOS.user_data_dircCs
|dS)z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Support)r)rr
r
r
site_data_dirszMacOS.site_data_dircCs|tjdS)z\:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``z~/Library/Preferences/)rr	r
r)rr
r
ruser_config_dirszMacOS.user_config_dircCs
|dS)zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferences)r)rr
r
rsite_config_dirszMacOS.site_config_dircCs|tjdS)zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Caches)rr	r
r)rr
r
ruser_cache_dir$szMacOS.user_cache_dircCs|jS)zB:return: state directory tied to the user, same as `user_data_dir`)r)rr
r
ruser_state_dir)szMacOS.user_state_dircCs|tjdS)zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logs)rr	r
r)rr
r
ruser_log_dir.szMacOS.user_log_dircCstjdS)zC:return: documents directory tied to the user, e.g. ``~/Documents``z~/Documents)r	r
r)rr
r
ruser_documents_dir3szMacOS.user_documents_dircCs|tjdS)zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItems)rr	r
r)rr
r
ruser_runtime_dir8szMacOS.user_runtime_dirN)__name__
__module____qualname____doc__propertyrrrrrrrrrr
r
r
rrsr)Z
__future__rr	Zapirr__all__r
r
r
r<module>s7