o
    Ê`
b  ã                   @   sD   d dl mZ d dlmZ ddd„Zddd„Zdd	d
„Zddd„ZdS )é   )Ú	Interface)Úin_current_pathNFc                 C   ó    t |||d�}|j| d||d�S )N©ÚshellsÚ
all_shellsÚhomeT©ÚfrontÚapp_nameÚcheck©r   Úput©Úlocationr   r   r   r   r   Ú	interface© r   ú//usr/lib/python3/dist-packages/userpath/core.pyÚprepend   ó   r   c                 C   r   )Nr   Fr	   r   r   r   r   r   Úappend
   r   r   c                 C   s   t |||d�}|j| |d�S )Nr   )r   )r   Úlocation_in_new_path)r   r   r   r   r   r   r   r   r   Úin_new_path   s   r   c                 C   s"   t |||d�}t| ƒ o| | ¡S )Nr   )r   r   r   )r   r   r   r   r   r   r   r   Úneed_shell_restart   s   r   )NNFNF)NFNF)NFN)r   r   Úutilsr   r   r   r   r   r   r   r   r   Ú<module>   s    


