a
    ýÞ{bF  ã                   @   s   d Z G dd„ dƒZdS )aß  
Storage Path
============

The StorgePath API can be used to gain access to standard storage locations
across platforms such as home directory, root directory, external storage
directory, documents, downloads, etc.

The :class:`StoragePath` provides access to public methods to access standard
storage locations.

Simple Examples
---------------

To get the path of user's home directory::

    >>> from plyer import storagepath
    >>> storagepath.get_home_dir()

To get the path of standard downloads directory::

    >>> from plyer import storagepath
    >>> storagepath.get_downloads_dir()

To get the path of directory holding application files::

    >>> from plyer import storagepath
    >>> storagepath.get_application_dir()

c                   @   s°   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zd d!„ Zd"d#„ Zd$d%„ Zd&d'„ Zd(d)„ Zd*S )+ÚStoragePathz
    StoragePath facade.
    c                 C   s   |   ¡ S )zA
        Get the path of home directory of current user.
        )Ú_get_home_dir©Úself© r   úi/Users/vegardjervell/Documents/master/model/venv/lib/python3.9/site-packages/plyer/facades/storagepath.pyÚget_home_dir&   s    zStoragePath.get_home_dirc                 C   s   |   ¡ S )zO
        Get the path of primary shared or external storage directory.
        )Ú_get_external_storage_dirr   r   r   r   Úget_external_storage_dir,   s    z$StoragePath.get_external_storage_dirc                 C   s   |   ¡ S )zT
        Get the path of external SD card.

        .. versionadded:: 1.4.0
        )Ú_get_sdcard_dirr   r   r   r   Úget_sdcard_dir2   s    zStoragePath.get_sdcard_dirc                 C   s   |   ¡ S )zU
        Get the path of root of the "system" partition holding the core OS.
        )Ú_get_root_dirr   r   r   r   Úget_root_dir:   s    zStoragePath.get_root_dirc                 C   s   |   ¡ S )z|
        Get the path of standard directory in which to place documents that
        have been created by the user.
        )Ú_get_documents_dirr   r   r   r   Úget_documents_dir@   s    zStoragePath.get_documents_dirc                 C   s   |   ¡ S )z{
        Get the path of standard directory in which to place files that have
        been downloaded by the user.
        )Ú_get_downloads_dirr   r   r   r   Úget_downloads_dirG   s    zStoragePath.get_downloads_dirc                 C   s   |   ¡ S )zu
        Get the path of standard directory in which to place videos that are
        available to the user.
        )Ú_get_videos_dirr   r   r   r   Úget_videos_dirN   s    zStoragePath.get_videos_dirc                 C   s   |   ¡ S )z˜
        Get the path of standard directory in which to place any audio files
        that should be in the regular list of music for the user.
        )Ú_get_music_dirr   r   r   r   Úget_music_dirU   s    zStoragePath.get_music_dirc                 C   s   |   ¡ S )zg
        Standard directory in which to place pictures that are available to
        the user.
        )Ú_get_pictures_dirr   r   r   r   Úget_pictures_dir\   s    zStoragePath.get_pictures_dirc                 C   s   |   ¡ S )zJ
        Get the path of the directory holding application files.
        )Ú_get_application_dirr   r   r   r   Úget_application_dirc   s    zStoragePath.get_application_dirc                 C   s
   t ƒ ‚d S ©N©ÚNotImplementedErrorr   r   r   r   r   k   s    zStoragePath._get_home_dirc                 C   s
   t ƒ ‚d S r   r   r   r   r   r   r   n   s    z%StoragePath._get_external_storage_dirc                 C   s
   t ƒ ‚d S r   r   r   r   r   r   r
   q   s    zStoragePath._get_sdcard_dirc                 C   s
   t ƒ ‚d S r   r   r   r   r   r   r   t   s    zStoragePath._get_root_dirc                 C   s
   t ƒ ‚d S r   r   r   r   r   r   r   w   s    zStoragePath._get_documents_dirc                 C   s
   t ƒ ‚d S r   r   r   r   r   r   r   z   s    zStoragePath._get_downloads_dirc                 C   s
   t ƒ ‚d S r   r   r   r   r   r   r   }   s    zStoragePath._get_videos_dirc                 C   s
   t ƒ ‚d S r   r   r   r   r   r   r   €   s    zStoragePath._get_music_dirc                 C   s
   t ƒ ‚d S r   r   r   r   r   r   r   ƒ   s    zStoragePath._get_pictures_dirc                 C   s
   t ƒ ‚d S r   r   r   r   r   r   r   †   s    z StoragePath._get_application_dirN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   r   r   r   r   r   r   r   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   !   s*   r   N)r    r   r   r   r   r   Ú<module>   s    