ó
    ëBjl  ã                   ó<   • S SK Jr  S SKrS SKJr   " S S\\5      rg)é    )ÚEnumN)ÚOptionalc                   óF   • \ rS rSrSrSrSrSrSr\	S\
S    4S j5       rS	rg
)ÚFileCacheModeé   a¤  Enumeration of the modes available for for the cloudpathlib file cache.

Attributes:
    persistent (str): Cache is not removed by `cloudpathlib`.
    tmp_dir (str): Cache is stored in a
        [`TemporaryDirectory`](https://docs.python.org/3/library/tempfile.html#tempfile.TemporaryDirectory)
        which is removed when the Client object is garbage collected (or by the OS at some point if not).
    cloudpath_object (str): Cache for a `CloudPath` object is removed when `__del__` for that object is
        called by Python garbage collection.
    close_file (str): Cache for a `CloudPath` file is removed as soon as the file is closed. Note: you must
        use `CloudPath.open` whenever opening the file for this method to function.

Modes can be set by passing them to the Client or by setting the `CLOUDPATHLIB_FILE_CACHE_MODE`
environment variable.

For more detail, see the [caching documentation page](../../caching).
Ú
persistentÚtmp_dirÚcloudpath_objectÚ
close_fileÚreturnc                 ó~   • [         R                  R                  SS5      R                  5       nU(       d  gU " U5      $ )z«Parses the environment variable `CLOUDPATHLIB_FILE_CACHE_MODE` into
an instance of this Enum.

Returns:
    FileCacheMode enum value if the env var is defined, else None.
ÚCLOUDPATHLIB_FILE_CACHE_MODEÚ N)ÚosÚenvironÚgetÚlower)ÚclsÚ
env_strings     ÚO/home/mande/repo/quber/.venv/lib/python3.13/site-packages/cloudpathlib/enums.pyÚfrom_environmentÚFileCacheMode.from_environment   s2   € ô —Z‘Z—^‘^Ð$BÀBÓG×MÑMÓOˆ
æØá�z“?Ð"ó    © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r	   r
   r   Úclassmethodr   r   Ú__static_attributes__r   r   r   r   r      s<   † ñð$ €JØ€GØ)ÐØ€Jàð# ¨/Ñ!:ó #ó ó#r   r   )Úenumr   r   Útypingr   Ústrr   r   r   r   Ú<module>r%      s   ðÝ Û 	Ý ô&#�C˜õ &#r   