o
    ADi                     @  sB   d dl mZ d dlmZ d dlmZ dgZeZG dd deZ	dS )    )annotations)FSSpecAccessorShim)UPath
MemoryPathc                      s8   e Zd Z fddZe fddZ fddZ  ZS )r   c                 #  s*    |   stt| t  E d H  d S )N)is_dirNotADirectoryErrorstrsuperiterdir)self	__class__ U/var/www/Datamplify/venv/lib/python3.10/site-packages/upath/implementations/memory.pyr
      s   zMemoryPath.iterdirc                   s   t  j}|dkr
dS |S )N./)r	   path)r   r   r   r   r   r      s   zMemoryPath.pathc                   s&   t   }|dr|ddd}|S )Nz
memory:///z	memory://   )r	   __str__
startswithreplace)r   sr   r   r   r      s   

zMemoryPath.__str__)__name__
__module____qualname__r
   propertyr   r   __classcell__r   r   r   r   r      s
    N)

__future__r   upath._compatr   _FSSpecAccessorShim
upath.corer   __all___MemoryAccessorr   r   r   r   r   <module>   s    