o
    .&ßaÑ  ã                   @   s<   d dl mZ d dlmZ d dlmZ 	d
dd„Zdd„ Zd	S )é    )ÚSizeOnlySync)ÚExactTimestampsSync)Ú
DeleteSyncÚfile_at_src_and_destc                 C   s   ||ƒ}|  | ¡ dS )a\  Registers a single sync strategy

    :param session: The session that the sync strategy is being registered to.
    :param strategy_cls: The class of the sync strategy to be registered.
    :param sync_type: A string representing when to perform the sync strategy.
        See ``__init__`` method of ``BaseSyncStrategy`` for possible options.
    N)Úregister_strategy)ÚsessionÚstrategy_clsÚ	sync_typeÚstrategy© r   úP/usr/lib/python3/dist-packages/awscli/customizations/s3/syncstrategy/register.pyÚregister_sync_strategy   s   	r   c                 K   s$   t |tƒ t |tƒ t |tdƒ dS )z×Registers the different sync strategies.

    To register a sync strategy add
    ``register_sync_strategy(session, YourSyncStrategyClass, sync_type)``
    to the list of registered strategies in this function.
    Úfile_not_at_srcN)r   r   r   r   )Úcommand_tabler   Úkwargsr   r   r   Úregister_sync_strategies    s   
	
r   N)r   )Ú.awscli.customizations.s3.syncstrategy.sizeonlyr   Ú5awscli.customizations.s3.syncstrategy.exacttimestampsr   Ú,awscli.customizations.s3.syncstrategy.deleter   r   r   r   r   r   r   Ú<module>   s   
ÿ